.profile: Fix bug in [

This commit is contained in:
Salt 2018-07-14 15:15:59 -05:00
parent 93c7932a1a
commit 49624fcc12

2
.profile Normal file → Executable file
View File

@ -74,7 +74,7 @@ fi
# Aliases for common utilities
alias cp='cp -i'
if [ "`ls --version`" == *"GNU"* ]; then
if [ "`uname`" = "Linux" ]; then
lsarguments='--color=auto --group-directories-first'
alias l="ls -CF --file-type $lsarguments"
alias la="ls -AF --file-type $lsarguments"