zsh-users
 help / color / mirror / code / Atom feed
* suffix alias on a generated file name
@ 2019-12-13 13:32 zzapper
  2019-12-14 11:17 ` Daniel Shahaf
  0 siblings, 1 reply; 6+ messages in thread
From: zzapper @ 2019-12-13 13:32 UTC (permalink / raw)
  To: zsh-users

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


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

end of thread, other threads:[~2019-12-17 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 13:32 suffix alias on a generated file name zzapper
2019-12-14 11:17 ` Daniel Shahaf
2019-12-15 16:20   ` zzapper
2019-12-16  3:58     ` Daniel Shahaf
2019-12-17 10:02       ` zzapper
2019-12-17 10:14         ` Daniel Shahaf

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