zsh-users
 help / color / mirror / code / Atom feed
* alias hl='$(history -n -2 -2) '
@ 2006-02-19 18:23 zzapper
  2006-02-20 11:18 ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: zzapper @ 2006-02-19 18:23 UTC (permalink / raw)
  To: zsh-users

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-20 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-19 18:23 alias hl='$(history -n -2 -2) ' zzapper
2006-02-20 11:18 ` Peter Stephenson
2006-02-20 13:17   ` zzapper
2006-02-20 14:19     ` swapping keys Francisco Borges
2006-02-20 14:50       ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).