zsh-workers
 help / color / mirror / code / Atom feed
* Why run-help gets the expanded command?
@ 2009-02-20 13:53 Jörg Sommer
  2009-02-20 21:43 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Jörg Sommer @ 2009-02-20 13:53 UTC (permalink / raw)
  To: zsh-workers

Hi,

I've defined some aliases like wget='noglob wget'. Running run-help
(ESC h) for these commands gives me the help for noglob. I've checked and
run-help is called with noglob, i.e. the expanded command and not the one
typed in by the user. I didn't found where run-help gets called to fix it
there. The other way would be to use getln to get the correct command
line and use this in run-help. Which one would you prefer?

Bye, Jörg.
-- 
“UNIX was not designed to stop people from doing stupid things, because
 that would also stop them from doing clever things.”
            (Doug Gwyn)


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

end of thread, other threads:[~2009-02-21  1:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-20 13:53 Why run-help gets the expanded command? Jörg Sommer
2009-02-20 21:43 ` Peter Stephenson
2009-02-21  1:25   ` Bart Schaefer

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).