Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/completion/zsh_completion.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/completion/zsh_completion.in')
-rw-r--r--scripts/completion/zsh_completion.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/completion/zsh_completion.in b/scripts/completion/zsh_completion.in
index 77449955..c114ae02 100644
--- a/scripts/completion/zsh_completion.in
+++ b/scripts/completion/zsh_completion.in
@@ -370,7 +370,7 @@ _pacman_get_command() {
# main dispatcher
_pacman_zsh_comp() {
- local -a args cmds;
+ local -a args cmds
local tmp
args=( ${${${(M)words:#-*}#-}:#-*} )
for tmp in $words; do
@@ -465,7 +465,7 @@ _pacman_zsh_comp() {
if (( ${(w)#cmds} == 1 )); then
_pacman_action_help
else
- return 0;
+ return 0
fi
;;
*--sync*)
@@ -554,7 +554,7 @@ _pacman_key() {
"$_key_longopts[@]"
;;
*)
- i=$#;
+ i=$#
while [[ $words[$i] != -* ]] && [[ $words[$i] != "pacman-key" ]];do
i=$(($i-1))
done
@@ -681,7 +681,7 @@ _makepkg(){
*)
i=$#
while [[ $words[i] != -* ]] && [[ $words[$i] != "makepkg" ]];do
- i=$((i-1));
+ i=$((i-1))
done
case $words[$i] in
-*)