1
0
Fork 0

make the pydf alias optional

pydf is not a true replacement for df, as it cannot stat remote disks.
This alias being a default is inappropriate,
especially without making it very clear in the documentation
pull/1388/head
Greg Meyer 7 years ago
parent 2db7f62c2b
commit b14a3f3033
No known key found for this signature in database
GPG Key ID: 509052B651C0CD23

@ -175,9 +175,13 @@ elif (( $+commands[wget] )); then
alias get='wget --continue --progress=bar --timestamping' alias get='wget --continue --progress=bar --timestamping'
fi fi
# Resource Usage if zstyle -s ':prezto:module:utility' pydf 'yes'; then
if (( $+commands[pydf] )); then # Resource Usage
if (( $+commands[pydf] )); then
alias df=pydf alias df=pydf
else
alias df='df -kh'
fi
else else
alias df='df -kh' alias df='df -kh'
fi fi

Loading…
Cancel
Save