Test whether ls supports -h

This commit is contained in:
hjp 1999-10-12 20:15:43 +00:00
parent 2e8dbb4f4e
commit 06f429e38d
1 changed files with 6 additions and 1 deletions

7
.zshrc
View File

@ -13,7 +13,12 @@ alias pop=popd
alias rd=rmdir
alias fixsz='set noglob; eval `resize`;unset noglob'
alias ls='ls -F'
alias ll='ls -lFh'
if ls -hld > /dev/null 2>/dev/null
then
alias ll='ls -lFh'
else
alias ll='ls -lF'
fi
alias la='ls -alsF'
alias cup='cvs -q update -d -P'