From 4b324cd3a43c770866fc61288746e0243d529b5a Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 28 Jan 2024 22:11:35 +0300 Subject: [PATCH] Ps : Nix fix. --- .config/bash/module/Ps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }