zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Why run-help gets the expanded command?
Date: Fri, 20 Feb 2009 17:25:56 -0800	[thread overview]
Message-ID: <090220172556.ZM7567@torch.brasslantern.com> (raw)
In-Reply-To: <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@alea.gnuu.de> 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).


      reply	other threads:[~2009-02-21  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 13:53 Jörg Sommer
2009-02-20 21:43 ` Peter Stephenson
2009-02-21  1:25   ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=090220172556.ZM7567@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).