Gregory Orange wrote:
> Hehe that's something I've never understood. So I use
> "locate .foo | egrep \.foo$"
Ta, I added the following to .zshrc:
loc(){ slocate $1 | egrep $1$ }
alias locate='noglob loc'
Now I can "locate *.foo" faster than using PERL. A bit of a hack though?