mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-07 03:59:25 +00:00
committed by
Kaleb Elwert
parent
ecc34e0051
commit
7c172fc9a7
@ -150,16 +150,12 @@ fi
|
||||
|
||||
alias du='du -kh'
|
||||
|
||||
if (( $+commands[htop] )); then
|
||||
alias top=htop
|
||||
if [[ "$OSTYPE" == (darwin*|*bsd*) ]]; then
|
||||
alias topc='top -o cpu'
|
||||
alias topm='top -o vsize'
|
||||
else
|
||||
if [[ "$OSTYPE" == (darwin*|*bsd*) ]]; then
|
||||
alias topc='top -o cpu'
|
||||
alias topm='top -o vsize'
|
||||
else
|
||||
alias topc='top -o %CPU'
|
||||
alias topm='top -o %MEM'
|
||||
fi
|
||||
alias topc='top -o %CPU'
|
||||
alias topm='top -o %MEM'
|
||||
fi
|
||||
|
||||
# Miscellaneous
|
||||
|
Reference in New Issue
Block a user