diff options
Diffstat (limited to 'sh/shrc.d/mysql.sh')
-rw-r--r-- | sh/shrc.d/mysql.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/shrc.d/mysql.sh b/sh/shrc.d/mysql.sh index 00b6930c..d37c3ead 100644 --- a/sh/shrc.d/mysql.sh +++ b/sh/shrc.d/mysql.sh @@ -11,9 +11,9 @@ # database=bar # mysql() { - if [ -f "$HOME"/.mysql/"$1".cnf ] ; then + if [ -f "$HOME/.mysql/$1".cnf ] ; then shift - set -- --defaults-extra-file="$HOME"/.mysql/"$1".cnf "$@" + set -- --defaults-extra-file="$HOME/.mysql/$1".cnf "$@" fi command mysql "$@" } |