aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/mysql.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/mysql.bash')
-rw-r--r--bash/bashrc.d/mysql.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash
index 2faa4e81..9efe3795 100644
--- a/bash/bashrc.d/mysql.bash
+++ b/bash/bashrc.d/mysql.bash
@@ -51,8 +51,8 @@ _mysql() {
((${#cnfs[@]})) || exit 1
# Print the conf names, null-delimited
- printf '%s\0' "${cnfs[@]}"
+ printf '%q\0' "${cnfs[@]}"
)
}
-complete -F _mysql -o default -o filenames mysql
+complete -F _mysql -o default mysql