Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
suffix alias on a generated file name
Hi
I want to open the most recently editted text file with vim using a suffix
alias
alias -s txt='gvim'
alias NF='*(.om[1])'
touch fred.txt
NF<tab>
*(.om[1])<TAB>
So double-tabbing will then exercise the suffix alias and open fred.txt in
gvim.
BUT how do I do that without the manual TABing?
--
zzapper
https://twitter.com/dailyzshtip
Messages sorted by:
Reverse Date,
Date,
Thread,
Author