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.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash
index 488fb02c..d04b189d 100644
--- a/bash/bashrc.d/mysql.bash
+++ b/bash/bashrc.d/mysql.bash
@@ -1,5 +1,5 @@
# Bail if no mysql(1)
-if ! hash mysql 2>/dev/null; then
+if ! hash mysql 2>/dev/null ; then
return
fi
@@ -15,7 +15,7 @@ fi
#
mysql() {
local config="$HOME"/.mysql/"$1".cnf
- if [[ -r $config ]]; then
+ if [[ -r $config ]] ; then
shift
command mysql --defaults-extra-file="$config" "$@"
else
@@ -34,7 +34,7 @@ _mysql() {
shopt -s nullglob dotglob
files=("$dir"/*.cnf)
((! ${#files[@]}))
- ); then
+ ) ; then
COMPREPLY=()
return 1
fi