Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Suffix alias for README files
- X-seq: zsh-users 15962
- From: Anthony R Fletcher <arif@xxxxxxxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Suffix alias for README files
- Date: Tue, 19 Apr 2011 09:59:09 -0400
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author