From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24863 invoked from network); 17 May 2005 13:20:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 May 2005 13:20:29 -0000 Received: (qmail 88980 invoked from network); 17 May 2005 13:20:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 May 2005 13:20:22 -0000 Received: (qmail 11080 invoked by alias); 17 May 2005 13:20:15 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8847 Received: (qmail 11052 invoked from network); 17 May 2005 13:20:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 May 2005 13:20:14 -0000 Received: (qmail 87861 invoked from network); 17 May 2005 13:20:14 -0000 Received: from dep.let.rug.nl (129.125.8.60) by a.mx.sunsite.dk with SMTP; 17 May 2005 13:20:04 -0000 Received: from dep.let.rug.nl ([129.125.8.60]) by dep.let.rug.nl (SMSSMTP 4.1.0.19) with SMTP id M2005051715181213616 for ; Tue, 17 May 2005 15:18:12 +0200 Received: from loki (postfix@loki.let.rug.nl [129.125.8.86]) by dep.let.rug.nl (8.12.10/8.12.10) with ESMTP id j4HDIBVk009279 for ; Tue, 17 May 2005 15:18:11 +0200 (MEST) Received: by loki (Postfix, from userid 7006) id 31B71E900; Tue, 17 May 2005 15:20:03 +0200 (CEST) Date: Tue, 17 May 2005 15:20:01 +0200 From: Francisco Borges To: Zsh User Subject: which-command help Message-ID: <20050517132000.GB9627@let.rug.nl> Mail-Followup-To: Zsh User Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: Linux/2.6.8-1-686 (i686) X-Editor: GNU Emacs 22.0.50.1 Organization: Alfa Informatica - Rijksuniversiteit Groningen User-Agent: Mutt/1.5.6+20040907i X-Whitelist: OK X-Scanned-By: milter-spamc/0.25.321 (dep.let.rug.nl [129.125.8.60]); Tue, 17 May 2005 15:18:12 +0200 X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 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