summary refs log tree commit diff
path: root/Completion/User/_mysql_utils
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_mysql_utils')
-rw-r--r--Completion/User/_mysql_utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_mysql_utils b/Completion/User/_mysql_utils
index c4648c818..ae7ffe72c 100644
--- a/Completion/User/_mysql_utils
+++ b/Completion/User/_mysql_utils
@@ -224,7 +224,7 @@ _mysqladmin_commands () {
 }
 
 _mysql_utils () {
-  case "${words[1]:t}" in
+  case "$service" in
     mysql)
       _mysql "$@"
     ;;