diff options
Diffstat (limited to 'bash/bashrc.d/mysql.bash')
-rw-r--r-- | bash/bashrc.d/mysql.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash index fb1f7126..488fb02c 100644 --- a/bash/bashrc.d/mysql.bash +++ b/bash/bashrc.d/mysql.bash @@ -15,7 +15,7 @@ fi # mysql() { local config="$HOME"/.mysql/"$1".cnf - if [[ -f $config ]]; then + if [[ -r $config ]]; then shift command mysql --defaults-extra-file="$config" "$@" else |