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,12 +175,16 @@ elif (( $+commands[wget] )); then
alias get='wget --continue --progress=bar --timestamping' alias get='wget --continue --progress=bar --timestamping'
fi fi
if zstyle -s ':prezto:module:utility' pydf 'yes'; then
# Resource Usage # Resource Usage
if (( $+commands[pydf] )); then if (( $+commands[pydf] )); then
alias df=pydf alias df=pydf
else else
alias df='df -kh' alias df='df -kh'
fi fi
else
alias df='df -kh'
fi
alias du='du -kh' alias du='du -kh'

Loading…
Cancel
Save