summaryrefslogtreecommitdiff
path: root/completions/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'completions/mysql')
-rw-r--r--completions/mysql2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/mysql b/completions/mysql
index effd313c..c41c1667 100644
--- a/completions/mysql
+++ b/completions/mysql
@@ -20,7 +20,7 @@ _mysql()
return 0
;;
--default-character-set)
- [ -d /usr/share/mysql/charsets ] && \
+ [[ -d /usr/share/mysql/charsets ]] && \
COMPREPLY=( $( compgen -W "$(command ls /usr/share/mysql/charsets|sed -e '/^\(README\|Index\.xml\)$/d' -e 's/.xml$//') utf8" -- "$cur" ) )
return 0
;;