diff options
| author | dana <dana@dana.is> | 2020-03-11 16:26:41 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2020-03-11 16:26:41 -0500 |
| commit | 359e0dae2bded75eebf7fe3b3cf919e1dd44c333 (patch) | |
| tree | e177397b30d61ffbb61658c894e7d5a4c821ee72 /ChangeLog | |
| parent | 45524: Add completion for dscverify(1) from Debian's devscripts. (diff) | |
| download | zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar.gz zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar.bz2 zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar.lz zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar.xz zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.tar.zst zsh-359e0dae2bded75eebf7fe3b3cf919e1dd44c333.zip | |
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
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2020-03-11 dana <dana@dana.is> + + * 45424 (tweaked): Completion/Solaris/Command/_pfexec, + Completion/Unix/Command/_doas, Completion/Unix/Command/_su, + Completion/Unix/Command/_sudo, Completion/Zsh/Type/_command_names: + Add **/sbin to PATH when completing commands like sudo + 2020-03-10 Romain Porte <debian@microjoe.org> * 45524: Completion/Debian/Command/_dscverify: Add completion |
