summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 7f71f86..ff4fefc 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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'