zsh-workers
 help / color / mirror / code / Atom feed
From: Adam Spiers <adam@spiers.net>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: PATCH: _mysql_get_identity overwriting .my.cnf settings
Date: Sun, 21 Oct 2001 19:35:51 +0100	[thread overview]
Message-ID: <20011021193551.A29016@thelonious.new.ox.ac.uk> (raw)

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


             reply	other threads:[~2001-10-21 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-21 18:35 Adam Spiers [this message]
2001-10-22 11:28 ` Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011021193551.A29016@thelonious.new.ox.ac.uk \
    --to=adam@spiers.net \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).