Ps : Nix fix.

This commit is contained in:
Dmitry Voronin 2024-01-26 20:54:15 +03:00
parent 06e6470346
commit 6fad0679d9

View file

@ -4,8 +4,8 @@ function ps() {
local process="${1}"
if [[ "${process}" = "" ]]; then
/usr/bin/ps aux
ps aux
else
/usr/bin/ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d"
ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d"
fi
}