diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-24 07:02:11 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-28 07:16:39 +0000 |
commit | 1955cceec79107b6571646b695d334df8e4a6cd8 (patch) | |
tree | 4acf7ec7315d5361561254e1d2088886342c2c47 /Completion/Solaris | |
parent | a81f280bfa185ba1df9c5ffee535631e4f1736f4 (diff) | |
download | zsh-1955cceec79107b6571646b695d334df8e4a6cd8.tar.gz zsh-1955cceec79107b6571646b695d334df8e4a6cd8.tar.xz zsh-1955cceec79107b6571646b695d334df8e4a6cd8.zip |
40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well.
Diffstat (limited to 'Completion/Solaris')
-rw-r--r-- | Completion/Solaris/Command/_pfexec | 1 | ||||
-rw-r--r-- | Completion/Solaris/Command/_zlogin | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Solaris/Command/_pfexec b/Completion/Solaris/Command/_pfexec index 2afaf317b..2519c3cdc 100644 --- a/Completion/Solaris/Command/_pfexec +++ b/Completion/Solaris/Command/_pfexec @@ -22,6 +22,7 @@ _privset() { } _pfexec() { + local -a _comp_priv_prefix _arguments \ '-P[privileges to acquire]:privspec:_privset' \ '(-):command name: _command_names -e' \ diff --git a/Completion/Solaris/Command/_zlogin b/Completion/Solaris/Command/_zlogin index 065f55b03..74cbafe82 100644 --- a/Completion/Solaris/Command/_zlogin +++ b/Completion/Solaris/Command/_zlogin @@ -1,9 +1,8 @@ #compdef zlogin # Synced with the Nevada build 162 man page -local -a _comp_priv_prefix - _zlogin() { + local -a _comp_priv_prefix _arguments -s \ '-E[Disable escape character]' \ '-e[Specify escape character]:character:' \ |