summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_libvirt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_libvirt b/Completion/Unix/Command/_libvirt
index f93778876..d68f82d5e 100644
--- a/Completion/Unix/Command/_libvirt
+++ b/Completion/Unix/Command/_libvirt
@@ -131,7 +131,7 @@ case $state in
_default
return 0
fi
- local cmd
+ local cmd word
for word in ${words:1}; do
[[ -n "${_cache_virsh_cmds[(r)$word]}" ]] && cmd=$word && break
done
@@ -211,7 +211,7 @@ case $state in
_wanted commands expl 'virt-admin command' compadd -a _cache_virt_admin_cmds && ret=0
;;
virt_admin_cmd_opts)
- local cmd
+ local cmd word
for word in ${words:1}; do
[[ -n "${_cache_virt_admin_cmds[(r)$word]}" ]] && cmd=$word && break
done