diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 101e8a41..687cb313 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -175,9 +175,13 @@ elif (( $+commands[wget] )); then alias get='wget --continue --progress=bar --timestamping' fi -# Resource Usage -if (( $+commands[pydf] )); then - alias df=pydf +if zstyle -s ':prezto:module:utility' pydf 'yes'; then + # Resource Usage + if (( $+commands[pydf] )); then + alias df=pydf + else + alias df='df -kh' + fi else alias df='df -kh' fi