Test whether ls supports -h
This commit is contained in:
parent
2e8dbb4f4e
commit
06f429e38d
5
.zshrc
5
.zshrc
|
@ -13,7 +13,12 @@ alias pop=popd
|
||||||
alias rd=rmdir
|
alias rd=rmdir
|
||||||
alias fixsz='set noglob; eval `resize`;unset noglob'
|
alias fixsz='set noglob; eval `resize`;unset noglob'
|
||||||
alias ls='ls -F'
|
alias ls='ls -F'
|
||||||
|
if ls -hld > /dev/null 2>/dev/null
|
||||||
|
then
|
||||||
alias ll='ls -lFh'
|
alias ll='ls -lFh'
|
||||||
|
else
|
||||||
|
alias ll='ls -lF'
|
||||||
|
fi
|
||||||
alias la='ls -alsF'
|
alias la='ls -alsF'
|
||||||
alias cup='cvs -q update -d -P'
|
alias cup='cvs -q update -d -P'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue