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:
parent
a698189843
commit
9a310a83c3
2 changed files with 8 additions and 3 deletions
|
|
@ -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"}
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue