dotfiles/.bashrc.d/psgrep

2 lines
121 B
Plaintext
Raw Permalink Normal View History

2023-04-27 14:52:46 +01:00
[[ ! -x $(which psgrep 2>/dev/null) ]] && function psgrep() { ps -ef | grep "${@}" | grep -v ${$}; } && export -f psgrep