From 79309afa6f6d8b4f3a607694608b499db6b992fa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Feb 2014 23:54:25 +1300 Subject: Use space before semicolon as command separator --- bash/bashrc.d/mysql.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bash/bashrc.d/mysql.bash') 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 -- cgit v1.2.3