Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sudo autocompletion
On Wed, Feb 12, 2020, 5:21 PM dana <dana@xxxxxxx> wrote:
>
> PS: This does not fix `su -c` — _su doesn't set _c_p_p, presumably because
> it
> always prompts for a password. But since _c_p_p is passed directly to
> eval, we
> *could* make it set _c_p_p=( '' ), which would trick _command_names into
> doing
> the right thing. Is that too silly?
>
Compared to some of the other things we do? No. Just be sure not to
include a comment about it so it's just as mysterious as most of those
other tricks. (wink)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author