zsh-users
 help / color / mirror / code / Atom feed
* cd $(locate zoo.txt|head -1)(:h)
@ 2016-02-12 13:52 zzapper
  2016-02-12 18:32 ` zzapper
  0 siblings, 1 reply; 4+ messages in thread
From: zzapper @ 2016-02-12 13:52 UTC (permalink / raw)
  To: zsh-users

cd $(locate zoo.txt|head -1)(:h)

I'd like to make this a bit more versatile, i.e detect more than one result 
and may be offer a list?


-- 
zzapper
https://twitter.com/dailyzshtip

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-12 20:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12 13:52 cd $(locate zoo.txt|head -1)(:h) zzapper
2016-02-12 18:32 ` zzapper
2016-02-12 20:01   ` Bart Schaefer
2016-02-12 20:45     ` zzapper

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).