1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 20:59:26 +00:00

[Fix #762] Use $LOGNAME instead of $USER

$USER is deprecated.
This commit is contained in:
Sorin Ionescu
2015-02-13 00:00:27 -05:00
parent 4411c95a83
commit 88aee30ae8
5 changed files with 5 additions and 5 deletions

View File

@ -191,5 +191,5 @@ function find-exec {
# Displays user owned processes status.
function psu {
ps -U "${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
ps -U "${1:-$LOGNAME}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
}