zsh-users
 help / color / mirror / code / Atom feed
* Suffix alias for README files
@ 2011-04-19 13:59 Anthony R Fletcher
  2011-04-20  9:23 ` Sebastian Stark
  0 siblings, 1 reply; 9+ messages in thread
From: Anthony R Fletcher @ 2011-04-19 13:59 UTC (permalink / raw)
  To: zsh-users

I can use suffix aliases to display various .txt files. So

	alias -s txt=less
	./x.txt

actually runs

	less ./x.txt

Can I do a similar thing for README files? So the "command"

	/some/path/README

will really run the command 

	less /some/path/README


			Anthony


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

end of thread, other threads:[~2011-04-20 19:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 13:59 Suffix alias for README files Anthony R Fletcher
2011-04-20  9:23 ` Sebastian Stark
2011-04-20 12:41   ` Anthony R Fletcher
2011-04-20 15:06     ` Bart Schaefer
2011-04-20 16:44       ` Anthony R Fletcher
2011-04-20 17:25       ` John Eikenberry
2011-04-20 18:40         ` ZyX
2011-04-20 18:57           ` John Eikenberry
2011-04-20 19:22             ` ZyX

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).