Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why run-help gets the expanded command?
- X-seq: zsh-workers 26589
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Why run-help gets the expanded command?
- Date: Fri, 20 Feb 2009 17:25:56 -0800
- In-reply-to: <20090220214338.66722410@pws-pc>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngptdeg.2hh.joerg@xxxxxxxxxxxx> <20090220214338.66722410@pws-pc>
On Feb 20, 9:43pm, Peter Stephenson wrote:
} Subject: Re: Why run-help gets the expanded command?
}
} On Fri, 20 Feb 2009 13:53:20 +0000 (UTC)
} Jorg Sommer <joerg@xxxxxxxxxxxx> wrote:
} > 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'm not quite sure what that was trying to achieve, since it doesn't do
} this for which-command.
It's trying to do the right thing for the dirt-simple default which is
"alias run-help=man" rather than the right thing for the autoloadable
shell function function named "run-help" that is now supplied with the
distribution (but might not always be available and might not be in use
even if it is available).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author