1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00
zsh/Completion/Solaris/Command
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
..
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
_beadm 39071: update completion functions for changes in Solaris 11.3 2016-08-19 19:06:37 +02:00
_coreadm 39071: update completion functions for changes in Solaris 11.3 2016-08-19 19:06:37 +02:00
_dhcpinfo
_dladm 44783, 44791: mark some repeatable options with * in the _arguments specs 2019-09-30 23:20:24 +02:00
_dtrace Danek (plus .distfiles): 30520: updated Solaris 11 copmletion 2012-06-21 08:50:14 +00:00
_dumpadm 39071: update completion functions for changes in Solaris 11.3 2016-08-19 19:06:37 +02:00
_flowadm 39071: update completion functions for changes in Solaris 11.3 2016-08-19 19:06:37 +02:00
_fmadm 39464: fix where lack of $state check caused unwanted filename completion for fmadm 2016-09-30 09:56:19 +02:00
_inetadm
_ipadm Danek: 30562: Solaris completion updates 2012-07-08 17:54:01 +00:00
_pfexec 45424: completion: Add **/sbin to PATH when completing commands like sudo 2020-03-11 16:26:41 -05:00
_pkg5 Danek (plus .distfiles): 30520: updated Solaris 11 copmletion 2012-06-21 08:50:14 +00:00
_prstat 42171: prevent parameters of various parameters from becoming global 2018-01-02 14:38:03 -05:00
_ptree 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
_savecore
_snoop 41556: complete BPF (libpcap) filters 2017-08-16 23:47:55 +02:00
_svcadm 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02:00
_svccfg 44895: complete options for state change notifications and other improvements 2019-11-06 21:32:25 +01:00
_svcprop Danek (plus .distfiles): 30520: updated Solaris 11 copmletion 2012-06-21 08:50:14 +00:00
_svcs 39071: update completion functions for changes in Solaris 11.3 2016-08-19 19:06:37 +02:00
_zlogin 40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well. 2016-11-28 07:16:39 +00:00
_zoneadm 32261: completion updates for Solaris 11, Update 1 2014-01-02 22:26:04 +00:00