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

alias hl='$(history -n -2 -2) '



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