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

Re: Global Alias to "read" previous parameter?



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