Shell: pgex function.
parent
9c6af3eb2e
commit
050d129c57
|
@ -894,6 +894,12 @@ $(find . -type d -name ".git")
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## Extended pgrep -a.
|
||||||
|
pgex ()
|
||||||
|
{
|
||||||
|
ps aux | grep "$(echo "$@" | sed 's/./[&]/;q')"
|
||||||
|
}
|
||||||
|
|
||||||
##==============================================================================
|
##==============================================================================
|
||||||
## Pacman functions
|
## Pacman functions
|
||||||
##==============================================================================
|
##==============================================================================
|
||||||
|
|
Loading…
Reference in New Issue