diff --git a/.profile b/.profile index 278d66f4..a7c5f50b 100755 --- a/.profile +++ b/.profile @@ -55,6 +55,7 @@ fi # Aliases for common utilities if [ "`uname`" = "Linux" ]; then + # Assume we have GNU coreutils lsarguments='--color=auto --group-directories-first' alias l="ls -CF --file-type $lsarguments" alias la="ls -AF --file-type $lsarguments" @@ -64,6 +65,7 @@ if [ "`uname`" = "Linux" ]; then alias rm='rm -I' else + # Else only assume POSIX/BSD lsarguments='-F' alias l="ls -$lsarguments" alias la="ls -A $lsarguments"