about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-06-10 07:35:07 -0500
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-06-10 22:18:05 +0200
commit63e09b338bb634cd54bb8a2129b12ba21bd04c91 (patch)
treec8ab094e4250a6abaaa9397d082e920efb1b4cb6 /Completion
parentc89d9cc8203457244fa323715444aa02c19e92af (diff)
downloadzsh-63e09b338bb634cd54bb8a2129b12ba21bd04c91.tar.gz
zsh-63e09b338bb634cd54bb8a2129b12ba21bd04c91.tar.xz
zsh-63e09b338bb634cd54bb8a2129b12ba21bd04c91.zip
42978: fix small but irritating bug in pbcopy completion
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Darwin/Command/_pbcopy2
1 files changed, 1 insertions, 1 deletions
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'
 )