From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@zsh.org>
Subject: PATCH: remove duplicated local in _x_utils
Date: Tue, 19 Mar 2013 22:46:14 +0100 [thread overview]
Message-ID: <10490.1363729574@thecus.kiddle.eu> (raw)
I noticed that completion after xhost + was outputting expl=''. This is
because it is declared local twice in _x_utils so the second time it
prints the value. This removes the duplication.
Oliver
Index: Completion/X/Command/_x_utils
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_x_utils,v
retrieving revision 1.5
diff -u -r1.5 _x_utils
--- Completion/X/Command/_x_utils 9 Dec 2011 15:58:35 -0000 1.5
+++ Completion/X/Command/_x_utils 19 Mar 2013 21:45:39 -0000
@@ -69,7 +69,7 @@
'-rv'
;;
xhost)
- local expl type ret=1 tmp match
+ local type tmp match
if compset -P '-'; then
tmp=(${(f)"$(xhost)"})
reply other threads:[~2013-03-19 21:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=10490.1363729574@thecus.kiddle.eu \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@zsh.org \
/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).