Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
which-command help
- X-seq: zsh-users 8847
- From: Francisco Borges <f.borges@xxxxxx>
- To: Zsh User <zsh-users@xxxxxxxxxx>
- Subject: which-command help
- Date: Tue, 17 May 2005 15:20:01 +0200
- Mail-followup-to: Zsh User <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Alfa Informatica - Rijksuniversiteit Groningen
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author