mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 12:48:01 +00: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.
|
||||
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 New Issue
Block a user