1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-07-02 12:10:27 +00:00

Fix #1337 by removing top alias to htop. (#1341)

Fixes #1337
This commit is contained in:
Diego Rabatone Oliveira 2017-06-21 18:37:03 -03:00 committed by Kaleb Elwert
parent ecc34e0051
commit 7c172fc9a7
2 changed files with 8 additions and 14 deletions

View File

@ -107,11 +107,9 @@ Aliases
- `df` displays free disk space using human readable units (aliases to `pydf`, if installed). - `df` displays free disk space using human readable units (aliases to `pydf`, if installed).
- `du` displays disk usage using human readable units. - `du` displays disk usage using human readable units.
- `top` displays information about processes (aliased to `htop`, if installed). - `top` displays information about processes.
- `topc` displays information about processes sorted by CPU usage (`htop` not - `topc` displays information about processes sorted by CPU usage.
installed). - `topm` displays information about processes sorted by RAM usage.
- `topm` displays information about processes sorted by RAM usage (`htop` not
installed).
### Miscellaneous ### Miscellaneous

View File

@ -150,9 +150,6 @@ fi
alias du='du -kh' alias du='du -kh'
if (( $+commands[htop] )); then
alias top=htop
else
if [[ "$OSTYPE" == (darwin*|*bsd*) ]]; then if [[ "$OSTYPE" == (darwin*|*bsd*) ]]; then
alias topc='top -o cpu' alias topc='top -o cpu'
alias topm='top -o vsize' alias topm='top -o vsize'
@ -160,7 +157,6 @@ else
alias topc='top -o %CPU' alias topc='top -o %CPU'
alias topm='top -o %MEM' alias topm='top -o %MEM'
fi fi
fi
# Miscellaneous # Miscellaneous