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 \ + "${@}" +}