Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Expanding a global alias
- X-seq: zsh-users 11843
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Expanding a global alias
- Date: Sun, 16 Sep 2007 18:47:09 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- Sender: news <news@xxxxxxxxxxxxx>
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