aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2016-01-19 01:46:00 -0500
committerTim Harder <radhermit@gmail.com>2016-01-19 14:30:25 -0500
commit4201f3836c9323464b7525d012597c68628726b0 (patch)
treead84cd115ab53d9ce936260f3a9a0c8bd9bc5ac0 /shell
parentshell/pkgcore.sh: resolve paths when sourcing shell libs (diff)
downloadpkgcore-4201f3836c9323464b7525d012597c68628726b0.tar.gz
pkgcore-4201f3836c9323464b7525d012597c68628726b0.tar.bz2
pkgcore-4201f3836c9323464b7525d012597c68628726b0.zip
zsh-completion: fix global completion options
Using typeset appears to localize the variables to the global scope so they are unset within the completion functions that refer to them leading to missing completions.
Diffstat (limited to 'shell')
-rw-r--r--shell/zsh/completion/_pkgcore2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/zsh/completion/_pkgcore b/shell/zsh/completion/_pkgcore
index dea7dfb2..8ca7b22d 100644
--- a/shell/zsh/completion/_pkgcore
+++ b/shell/zsh/completion/_pkgcore
@@ -1,7 +1,5 @@
#compdef pconfig pebuild pinspect pmaint pmerge pquery
-typeset -a common_main_args common_output_args common_args domain_common_args
-
common_main_args=(
'(- :)'--version'[show version information and exit]'
'--add-config[modify an existing configuration section]'