[Fix #267] Fix psu on non-Mac OS X systems

This commit is contained in:
Sorin Ionescu 2012-09-06 23:43:40 -04:00
parent 491ac265ca
commit 209846011f

View File

@ -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]}"
}