zsh-users
 help / color / mirror / code / Atom feed
From: Francisco Borges <f.borges@rug.nl>
To: Zsh User <zsh-users@sunsite.dk>
Subject: which-command help
Date: Tue, 17 May 2005 15:20:01 +0200	[thread overview]
Message-ID: <20050517132000.GB9627@let.rug.nl> (raw)

Hello,

I can't get which-command ("^[?") to work as I would like:

 ~ % echo $ZSH_VERSION
4.3.0-dev-1

 ~ % whence -c ls
ls: aliased to /bin/ls -h -N --color=auto -F -v

 ~ % which-command /bin/ls
zsh: command not found: which-command

 ~ % alias which-command='whence -c'

# If I just run the command I get

 ~ % which-command ls
ls: aliased to /bin/ls -h -N --color=auto -F -v

# but if I use "^[?" (is which-command) I get:

 ~ % which-command /bin/ls
/bin/ls

How can I get ^[? to behave the same as a command line "which-command"?

-- 
Francisco Borges
Alfa Informatica - RuG


             reply	other threads:[~2005-05-17 13:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 13:20 Francisco Borges [this message]
2005-05-17 14:47 ` Peter Stephenson
2005-05-17 15:32   ` Bart Schaefer
2005-05-17 15:55     ` Peter Stephenson
2005-05-17 17:06       ` Bart Schaefer
2005-05-17 17:47         ` Peter Stephenson
2005-05-18 10:27       ` PATCH: " Peter Stephenson

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=20050517132000.GB9627@let.rug.nl \
    --to=f.borges@rug.nl \
    --cc=zsh-users@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).