diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/mysql.bash | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash index b9f46096..45bdef8d 100644 --- a/bash/bashrc.d/mysql.bash +++ b/bash/bashrc.d/mysql.bash @@ -9,8 +9,7 @@ # password=SsJ2pICe226jM # mysql() { - local database=$1 - local config="$HOME"/.mysql/"$database".cnf + local config="$HOME"/.mysql/"$1".cnf if [[ -f $config ]]; then shift command mysql --defaults-extra-file="$config" "$@" |