diff options
author | Adam Spiers <adamspiers@users.sourceforge.net> | 2001-10-22 14:03:17 +0000 |
---|---|---|
committer | Adam Spiers <adamspiers@users.sourceforge.net> | 2001-10-22 14:03:17 +0000 |
commit | 9a310a83c3789c1e2ebc301dbd5fb30ffba0be8f (patch) | |
tree | 6a23ffd243a5dd1ad44c113f10e178ec18b73440 | |
parent | a6981898435ad1ea9bcbb4540c7966048b755470 (diff) | |
download | zsh-9a310a83c3789c1e2ebc301dbd5fb30ffba0be8f.tar.gz zsh-9a310a83c3789c1e2ebc301dbd5fb30ffba0be8f.tar.xz zsh-9a310a83c3789c1e2ebc301dbd5fb30ffba0be8f.zip |
16092: Completion/Unix/Command/_mysql_utils: don't override settings in ~/.my.cnf
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_mysql_utils | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index a75e006e3..80c8ef822 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-22 Adam Spiers <adam@spiers.net> + + * 16092: Completion/Unix/Command/_mysql_utils: don't override + settings in ~/.my.cnf + 2001-10-20 Bart Schaefer <schaefer@zsh.org> * Adapted from Stefan Dalibor, 16043: Src/utils.c: checkrmall() diff --git a/Completion/Unix/Command/_mysql_utils b/Completion/Unix/Command/_mysql_utils index ae7ffe72c..c613583d5 100644 --- a/Completion/Unix/Command/_mysql_utils +++ b/Completion/Unix/Command/_mysql_utils @@ -14,9 +14,9 @@ _mysql_get_identity () { _mysql_host=${opt_args[-h]-$opt_args[--host]} _mysql_params=( - ${_mysql_user+"--user=$_mysql_user"} - ${_mysql_host+"--host=$_mysql_host"} - ${_mysql_port+"--port=$_mysql_port"} + ${_mysql_user:+"--user=$_mysql_user"} + ${_mysql_host:+"--host=$_mysql_host"} + ${_mysql_port:+"--port=$_mysql_port"} ) } |