Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Completion: Fix bug in _pbcopy



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'
 )
 



Messages sorted by: Reverse Date, Date, Thread, Author