Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _mysql_get_identity overwriting .my.cnf settings
- X-seq: zsh-workers 16092
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: _mysql_get_identity overwriting .my.cnf settings
- Date: Sun, 21 Oct 2001 19:35:51 +0100
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
This is pretty self-explanatory. Does that look OK, Sven?
cvs server: Diffing Completion/Unix/Command
Index: Completion/Unix/Command/_mysql_utils
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_mysql_utils,v
retrieving revision 1.1
diff -u -r1.1 _mysql_utils
--- Completion/Unix/Command/_mysql_utils 2001/04/02 11:58:16 1.1
+++ Completion/Unix/Command/_mysql_utils 2001/10/21 18:34:48
@@ -14,9 +14,9 @@
_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"}
)
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author