Browse Source

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

Fixes #1337
master
Diego Rabatone Oliveira 7 years ago committed by Kaleb Elwert
parent
commit
7c172fc9a7
  1. 8
      modules/utility/README.md
  2. 4
      modules/utility/init.zsh

8
modules/utility/README.md

@ -107,11 +107,9 @@ Aliases @@ -107,11 +107,9 @@ Aliases
- `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
installed).
- `topm` displays information about processes sorted by RAM usage (`htop` not
installed).
- `top` displays information about processes.
- `topc` displays information about processes sorted by CPU usage.
- `topm` displays information about processes sorted by RAM usage.
### Miscellaneous

4
modules/utility/init.zsh

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

Loading…
Cancel
Save