mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-29 07:58:59 +02:00
[Fix #267] Fix psu on non-Mac OS X systems
This commit is contained in:
parent
491ac265ca
commit
209846011f
|
@ -169,6 +169,6 @@ function find-exec {
|
||||||
|
|
||||||
# Displays user owned processes status.
|
# Displays user owned processes status.
|
||||||
function psu {
|
function psu {
|
||||||
ps -{U,u}" ${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
|
ps -U "${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue