1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-23 00:16:03 +02:00
zsh/Completion/Solaris
dana 359e0dae2b 45424: completion: Add **/sbin to PATH when completing commands like sudo
* Update _command_names to add **/sbin to PATH when not otherwise overridden
  and _comp_priv_prefix is set. This ensures that, on systems where
  unprivileged users don't have **/sbin in their PATHs, we can still complete
  those commands when they try to run them with e.g. sudo

* Update functions for privilege-gaining commands to use the aforementioned
  mechanism

* Fix some other minor issues in _pfexec and _doas

Changes from the posted diff:

* Fix a minor redundancy in _doas

* Add _c_p_p=( '' ) hack to _su
2020-03-11 16:26:41 -05:00
..
Command 45424: completion: Add **/sbin to PATH when completing commands like sudo 2020-03-11 16:26:41 -05:00
Type 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02:00