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

Expanding a global alias



Hi

I use a global alias as follows
>alias -g NF='*(.om[1])' # newest file

so I can write say

>cp NF /tmp

Is there any way of making the above (or similar) tab expandable

ie
>cp NF<tab> 

expands to

>cp thanks.php 


-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html



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