From ccf058440c527b1150d167e691ee67d790864fca Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:29:05 +0100 Subject: [PATCH] pg --- shell/alias/ps.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shell/alias/ps.sh b/shell/alias/ps.sh index 0e643ae..bbb93de 100644 --- a/shell/alias/ps.sh +++ b/shell/alias/ps.sh @@ -1,7 +1,7 @@ # look for a string in processes names -alias pg="\ -ps \ --A \ -| \ -grep \ -" +pg() { + ps \ + -A | + grep \ + "${@}" +}