.profile: Add comments to ls alias section
This commit is contained in:
parent
ffc9a997f6
commit
0ba5a922de
2
.profile
2
.profile
@ -55,6 +55,7 @@ fi
|
|||||||
|
|
||||||
# Aliases for common utilities
|
# Aliases for common utilities
|
||||||
if [ "`uname`" = "Linux" ]; then
|
if [ "`uname`" = "Linux" ]; then
|
||||||
|
# Assume we have GNU coreutils
|
||||||
lsarguments='--color=auto --group-directories-first'
|
lsarguments='--color=auto --group-directories-first'
|
||||||
alias l="ls -CF --file-type $lsarguments"
|
alias l="ls -CF --file-type $lsarguments"
|
||||||
alias la="ls -AF --file-type $lsarguments"
|
alias la="ls -AF --file-type $lsarguments"
|
||||||
@ -64,6 +65,7 @@ if [ "`uname`" = "Linux" ]; then
|
|||||||
|
|
||||||
alias rm='rm -I'
|
alias rm='rm -I'
|
||||||
else
|
else
|
||||||
|
# Else only assume POSIX/BSD
|
||||||
lsarguments='-F'
|
lsarguments='-F'
|
||||||
alias l="ls -$lsarguments"
|
alias l="ls -$lsarguments"
|
||||||
alias la="ls -A $lsarguments"
|
alias la="ls -A $lsarguments"
|
||||||
|
Loading…
Reference in New Issue
Block a user