Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
alias hl='$(history -n -2 -2) '
- X-seq: zsh-users 9941
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: alias hl='$(history -n -2 -2) '
- Date: Sun, 19 Feb 2006 18:23:07 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- Sender: news <news@xxxxxxxxxxxxx>
hi
alias hl='$(history -n -2 -2) '
The following attempts to emulate !-2 however if the command that is
recalled is itself an alias, it fails to interpret the alias.
Is this just hard-luck?
--
zzapper
Success for Techies
http://SuccessTheory.com/ vim, zsh & success tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author