Make the psgrep function ignore the results of itself.

This commit is contained in:
Darren 'Tadgy' Austin 2019-07-03 18:11:49 +01:00
commit 8eb97d0c3f

View file

@ -225,7 +225,7 @@ if [[ "$_PLATFORM" = "Linux" ]]; then
# Linux specific functions.
psgrep() {
ps -auwwx | egrep "(RSS|$1)"
ps -auwwx | egrep "(RSS|$1)" | fgrep -v "(RSS|"
}
elif [[ "$_PLATFORM" = "Darwin" ]]; then
# Darwin specific aliases.