Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Small correction to that "nextx" script


On Sun, Feb 24, 2002 at 04:52:13PM +1100, Jeff Waugh wrote:
> Or, check out psgrep in my .bashrc:
>   http://perkypants.org/dotfiles/

Your comments near psgrep are the reason I don't bother adding
aliases, etc, to my profile. It used to annoy me when I'd jump
on another box and didn't have all my customisations.

psgrep() { ps aux | grep "[${1:0:1}]${1:1}" ; }

Saved you a pipe.