Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: suffix alias on a generated file name



Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote in
news:20191214111751.ot4jd3o5esekqyfb@tarpaulin.shahaf.local2: 


>> BUT how do I do that without the manual TABing?
> 
> What's wrong with
> 
> alias NF='gvim *.txt(.om[1])'
> 
> ?
> 
> 
That would be a work-around but what I'm looking for is more generic 
solution perhaps useful for other situations i.e. having generated a 
filename or command to re-present it to the shell so that I can in this 
case apply a suffix alias.


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



Messages sorted by: Reverse Date, Date, Thread, Author