From 6fad0679d913950df26d4e3a97f9392b95418d47 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 26 Jan 2024 20:54:15 +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 438b627..04eb02e 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 - /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 }