diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-09-16 00:05:10 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-09-16 00:05:10 +0200 |
commit | b870ff85a0bcda9d38a734aa86bb6aee3d76983e (patch) | |
tree | 0c0dfd095a058bc8814dc4ed31dfcabd90bc18a5 /Completion/Solaris/Command | |
parent | fbafc5b509e311efee064bbd12396a2e207f3393 (diff) | |
download | zsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.tar.gz zsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.tar.xz zsh-b870ff85a0bcda9d38a734aa86bb6aee3d76983e.zip |
39333: include name of command used to gain priviliges in context for command and gain-priviliges styles
Diffstat (limited to 'Completion/Solaris/Command')
-rw-r--r-- | Completion/Solaris/Command/_pfexec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Solaris/Command/_pfexec b/Completion/Solaris/Command/_pfexec index 3f1f3e733..2afaf317b 100644 --- a/Completion/Solaris/Command/_pfexec +++ b/Completion/Solaris/Command/_pfexec @@ -25,7 +25,7 @@ _pfexec() { _arguments \ '-P[privileges to acquire]:privspec:_privset' \ '(-):command name: _command_names -e' \ - '*::arguments:{ _comp_priv_prefix=( $words[1] ${(kv)opt_args[-P]} ) ; _normal }' + '*::arguments:{ _comp_priv_prefix=( pfexec ${(kv)opt_args[-P]} ) ; _normal }' } _pfexec "$@" |