complettion update

This commit is contained in:
artoo 2014-11-14 13:12:21 +01:00
parent 8b605d2882
commit 69ab79bdc0
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
_manjaro-tools_compgen() {
_manjaro_tools_compgen() {
local i r
COMPREPLY=($(compgen -W '$*' -- "$cur"))
for ((i=1; i < ${#COMP_WORDS[@]}-1; i++)); do

View file

@ -41,7 +41,7 @@ _mkchroot_args=(
'-h[Display usage]'
)
__manjaro_tools_completions_all_packages() {
_manjaro_tools_completions_all_packages() {
typeset -U packages
packages=($(_call_program packages pacman -Sql))
compadd - "${(@)packages}"