This commit is contained in:
Marc Beninca 2024-11-18 18:43:16 +01:00
parent 31e52f9861
commit 39dedbd440
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,7 +1,7 @@
# look for a string in processes names
pg() {
ps \
-A |
grep \
pg() { sh_a__proc_grep "${@}"; }
sh_a__proc_grep() {
pgrep \
--list-full \
"${@}"
}