On Fri, Aug 16, 2013 at 08:35:31AM +0300, Sergey V. Dyatko wrote: > On Thu, 15 Aug 2013 12:12:41 -0400 > Jim Trigg <[email protected]> wrote: > > > On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote: > > > On 15 Aug 2013, at 00:56 , Sergey V. Dyatko > > > <[email protected]> wrote: > > > > > > > man ports > > > > > > > /search[enter] > > > > > > cd /usr/ports && make search name=pear- > > > cd /usr/ports && make search name=pear- xname='ht(tp|ml)' > > > > > > Well, OK. That seems a lot more effort, and loses your current > > > directory, but that does work. It's fugly though. > > > > OK, so "alias search='make -C /usr/ports search'". Then you can, as > > needed, "search name=whatever" (or whatever criteria you want to use). > > > > Jim > > 2 aliases from my .cshrc: > > alias search_name "make -C /usr/ports/ > search name='\!*' display=name,path,info" > > alias search_key "make -C /usr/ports/ search key='\!*' > display=name,path,info"
There's the "quicksearch" target which does exactly display name, path and info. > > search_[name|key] smthng >
pgpSKNJ4fJFBJ.pgp
Description: PGP signature
