Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: which-command help



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