Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: which-command help
- X-seq: zsh-users 8850
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, Zsh User <zsh-users@xxxxxxxxxx>
- Subject: Re: which-command help
- Date: Tue, 17 May 2005 15:32:11 +0000
- In-reply-to: <200505171447.j4HElTUj011344@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050517132000.GB9627@xxxxxxxxxx> <200505171447.j4HElTUj011344@xxxxxxxxxxxxxx>
On May 17, 3:47pm, Peter Stephenson wrote:
} Subject: Re: which-command help
}
} > # but if I use "^[?" (is which-command) I get:
} >
} > ~ % which-command /bin/ls
} > /bin/ls
}
} The problem is that the processing of which-command within the editor
} expands the alias, so that the command line that which-command sees
} already has the /bin/ls expanded.
}
} I think this is a bug, fixed below: we don't want to expand aliases when
} getting the name of the command.
Compare zsh-workers/20895 and surrounding thread. Are we breaking one
thing to fix another?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author