1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 17:10:59 +01:00

16092: Completion/Unix/Command/_mysql_utils: don't override settings in ~/.my.cnf

This commit is contained in:
Adam Spiers 2001-10-22 14:03:17 +00:00
parent a698189843
commit 9a310a83c3
2 changed files with 8 additions and 3 deletions

View file

@ -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"}
)
}