diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-08-15 20:21:19 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-08-15 20:21:19 +0200 |
commit | 222b76d38c8f2ab48470544dd37072ca5eee6558 (patch) | |
tree | 8cab9ddae77d3905675bca216f01d38c2f56212a /.zshrc | |
parent | e8df407a2580661654f79b7ade5d89853bef7e7d (diff) | |
download | dotfiles-222b76d38c8f2ab48470544dd37072ca5eee6558.tar.gz dotfiles-222b76d38c8f2ab48470544dd37072ca5eee6558.tar.xz |
make df alias smarter
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -645,7 +645,11 @@ alias dum='du -kh --max-depth=2' alias du='du -kh' alias dus='du -skh' #alias df='df -kTh' -alias df='pydf' +if type pydf &>/dev/null; then + alias df='pydf' +else + alias df="df -h" +fi # function to make ls look nice is below alias ll='ls -l' |