zsh-users
 help / color / mirror / code / Atom feed
* which-command help
@ 2005-05-17 13:20 Francisco Borges
  2005-05-17 14:47 ` Peter Stephenson
  0 siblings, 1 reply; 7+ messages in thread
From: Francisco Borges @ 2005-05-17 13:20 UTC (permalink / raw)
  To: Zsh User

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


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

end of thread, other threads:[~2005-05-18 10:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17 13:20 which-command help Francisco Borges
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

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