summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-29 09:06:50 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-08-29 13:59:55 +0200
commit142b032212fd94c0fde75a3dd223444c212c2eaa (patch)
tree32d2be6cf0f5b43fd8f1e36dec86a449a31d214e
parent5f8458f1977580f205b180b51a7234f590e4dcd5 (diff)
downloaddevtools32-142b032212fd94c0fde75a3dd223444c212c2eaa.tar.xz
zsh_completion: Fix package completion
Make use of _devtools_completions_all_packages() instead of using _devtools_completions_installed_packages(). The latter was removed during an earlier review of the patch adding ZSH completion (now 6350ec04 in master) but we forgot to change two references. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--zsh_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh_completion b/zsh_completion
index b1d7d05..d87850a 100644
--- a/zsh_completion
+++ b/zsh_completion
@@ -38,7 +38,7 @@ _commitpkg_args=(
)
_finddeps_args=(
- '1:packages:_devtools_completions_installed_packages'
+ '1:packages:_devtools_completions_all_packages'
)
_makechrootpkg_args=(
@@ -64,7 +64,7 @@ _mkarchroot_args=(
_rebuildpkgs_args=(
'1:chroot_dir:_files -/'
- '*:packages:_devtools_completions_installed_packages'
+ '*:packages:_devtools_completions_all_packages'
)
_devtools_completions_all_packages() {