mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
Add utility alias for pydf
This commit is contained in:
parent
cf7d3cffbd
commit
81b41d2367
@ -105,7 +105,7 @@ Aliases
|
||||
|
||||
### Resource Usage
|
||||
|
||||
- `df` displays free disk space using human readable units.
|
||||
- `df` displays free disk space using human readable units (aliases to `pydf`, if installed).
|
||||
- `du` displays disk usage using human readable units.
|
||||
- `top` displays information about processes (aliased to `htop`, if installed).
|
||||
- `topc` displays information about processes sorted by CPU usage (`htop` not
|
||||
|
@ -142,7 +142,12 @@ elif (( $+commands[wget] )); then
|
||||
fi
|
||||
|
||||
# Resource Usage
|
||||
alias df='df -kh'
|
||||
if (( $+commands[pydf] )); then
|
||||
alias df=pydf
|
||||
else
|
||||
alias df='df -kh'
|
||||
fi
|
||||
|
||||
alias du='du -kh'
|
||||
|
||||
if (( $+commands[htop] )); then
|
||||
|
Loading…
Reference in New Issue
Block a user