* PATCH: remove duplicated local in _x_utils
@ 2013-03-19 21:46 Oliver Kiddle
0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2013-03-19 21:46 UTC (permalink / raw)
To: Zsh workers
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)"})
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-19 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19 21:46 PATCH: remove duplicated local in _x_utils Oliver Kiddle
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).