diff --git a/.config/bash/module/Ps.sh b/.config/bash/module/Ps.sh index 04eb02e..da902ba 100644 --- a/.config/bash/module/Ps.sh +++ b/.config/bash/module/Ps.sh @@ -4,8 +4,8 @@ function ps() { local process="${1}" if [[ "${process}" = "" ]]; then - ps aux + /usr/bin/env ps aux else - ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d" + /usr/bin/env ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d" fi }