Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Why run-help gets the expanded command?
- X-seq: zsh-workers 26587
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Why run-help gets the expanded command?
- Date: Fri, 20 Feb 2009 13:53:20 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1235146517; i=@xxxxxxxxxxxx; bh=mh8mQgZ40fjLyQd9xUyH8/Ac+tGY6PIjY FG9qIriHvE=; h=To:From:Subject:Date:Message-ID:Mime-Version: Content-Type:Content-Transfer-Encoding:Sender; b=oLKwBdyHMpSE3zn4O PUjmWbScFo5EyOjjik9BZCnfuh6whZP2yfEEv11HehzQpHj2dPA4yW7XR6IfMaHTek1 8fDl1pJFrPCLqt/0gIoH0IVosNqZYxfekcpdec2PaCpSgeADDYs4ZY0q6GzoywZm5s2 XEX308IbE9w7Nj5snJ4w=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
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)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author