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" search_[name|key] smthng -- wbr, tiger _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
