aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-12-22 14:54:40 -0800
committerTim Harder <radhermit@gentoo.org>2014-12-22 14:54:40 -0800
commit4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257 (patch)
tree2fa8b55c1b75a260d09ae9dd701e7e2ca78b928c /src/_gentoo_arches
parent_gentoolkit: initial eshowkw completion support (diff)
downloadzsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.tar.gz
zsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.tar.bz2
zsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.zip
_gentoolkit: add eshowkw completion support for comma-separated arch vals20150103
Diffstat (limited to 'src/_gentoo_arches')
-rw-r--r--src/_gentoo_arches3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_gentoo_arches b/src/_gentoo_arches
index 7206ea3..c5df979 100644
--- a/src/_gentoo_arches
+++ b/src/_gentoo_arches
@@ -6,6 +6,7 @@ arches=(${(f)"$(<$(_gentoo_repos -m)/profiles/arch.list)"})
for arch in $arches; do
[[ $arch =~ '^[^#]' ]] && allarches+=( $arch )
done
-_describe -t available-arches "arch" allarches
+
+echo "${allarches[@]}"
# vim: ft=zsh sw=2 ts=2 et