Shell: pgex function.

master
Pierre Neidhardt 2013-02-27 23:38:10 +01:00
parent 9c6af3eb2e
commit 050d129c57
1 changed files with 6 additions and 0 deletions

View File

@ -894,6 +894,12 @@ $(find . -type d -name ".git")
EOF
}
## Extended pgrep -a.
pgex ()
{
ps aux | grep "$(echo "$@" | sed 's/./[&]/;q')"
}
##==============================================================================
## Pacman functions
##==============================================================================