summaryrefslogtreecommitdiff
path: root/Completion/Solaris/Command/_pfexec
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Solaris/Command/_pfexec')
-rw-r--r--Completion/Solaris/Command/_pfexec3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Solaris/Command/_pfexec b/Completion/Solaris/Command/_pfexec
index 227336223..2519c3cdc 100644
--- a/Completion/Solaris/Command/_pfexec
+++ b/Completion/Solaris/Command/_pfexec
@@ -22,10 +22,11 @@ _privset() {
}
_pfexec() {
+ local -a _comp_priv_prefix
_arguments \
'-P[privileges to acquire]:privspec:_privset' \
'(-):command name: _command_names -e' \
- '*::arguments: _normal'
+ '*::arguments:{ _comp_priv_prefix=( pfexec ${(kv)opt_args[-P]} ) ; _normal }'
}
_pfexec "$@"