summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_pkgin
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/BSD/Command/_pkgin')
-rw-r--r--Completion/BSD/Command/_pkgin2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/BSD/Command/_pkgin b/Completion/BSD/Command/_pkgin
index 5cb12baea..662bed181 100644
--- a/Completion/BSD/Command/_pkgin
+++ b/Completion/BSD/Command/_pkgin
@@ -26,7 +26,7 @@ _arguments -s -S -C \
'*:: :->restargs' && ret=0
if [[ -n $state ]]; then
- cmds=( ${${${(f)"$(_call_program commands $pkgin -h 2>&1)"}[3,-1]/ - (#b)(?)/:$match:l}%.} )
+ cmds=( ${${${(f)"$(_call_program commands $pkgin -h 2>&1)"}[3,-1]/ - (#b)(?)/:$match:l}%.} )
short=( ${${cmds#*\(}/ #\)/} )
cmds=( ${cmds// #\(*\)/} )
if [[ $state = subcommands && ! -prefix - ]]; then