From 0ba5a922de01515a741c0785c07633e4f3753d22 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 7 Oct 2018 00:02:13 -0500 Subject: [PATCH] .profile: Add comments to ls alias section --- .profile | 2 ++ 1 file changed, 2 insertions(+) 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"