Adding psgrep plugin

This commit is contained in:
Andrew Williams 2012-04-26 18:07:49 -04:00
commit 43639f0d13

View file

@ -0,0 +1,7 @@
# Grep out of ps. Cut to 80 chars
function psgrep
{
/bin/ps alxw |head -1
/bin/ps alxw |grep $1 |grep -v "grep $1" |cut -c 1-$COLUMNS
}