* [PATCH] Completion: Fix bug in _pbcopy
@ 2018-06-10 12:35 dana
0 siblings, 0 replies; only message in thread
From: dana @ 2018-06-10 12:35 UTC (permalink / raw)
To: Zsh workers
A very small but irritating bug in one of my earlier submissions :/
dana
diff --git a/Completion/Darwin/Command/_pbcopy b/Completion/Darwin/Command/_pbcopy
index fd60f00cc..deffd1160 100644
--- a/Completion/Darwin/Command/_pbcopy
+++ b/Completion/Darwin/Command/_pbcopy
@@ -8,7 +8,7 @@ args=(
'(-)-help[display help information]'
'-pboard[specify pasteboard to copy to or paste from]: :->pboards'
)
-[[ $service == pbpaste ]] & args+=(
+[[ $service == pbpaste ]] && args+=(
'-Prefer[specify type of data to prefer when pasting]: :->dtypes'
)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-10 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-10 12:35 [PATCH] Completion: Fix bug in _pbcopy dana
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).