Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Global Alias to "read" previous parameter?
- X-seq: zsh-users 12366
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Global Alias to "read" previous parameter?
- Date: Wed, 26 Dec 2007 15:15:38 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns9A0CB9D49CBEFzzappergmailcom@xxxxxxxxxxxx> <071223154531.ZM17766@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
Bart Schaefer wrote in news:071223154531.ZM17766@xxxxxxxxxxxxxxxxxxxxxx:
> alias -g VL='&& vi $_'
Exactly thanks, will be useful.
$_ The last argument of the previous command.
same as !$ but more useful as history is not available in an alias (?)
is this zsh only? are there any more eg first argument
--
zzapper
http://www.rayninfo.co.uk/vimtips.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author