Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Completion: Fix bug in _pbcopy
- X-seq: zsh-workers 42978
- From: dana <dana@xxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: [PATCH] Completion: Fix bug in _pbcopy
- Date: Sun, 10 Jun 2018 07:35:07 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=O5sd0PxqqzYgHa0DQmk/Jrs61knZ0/lFV8W5nofTyPI=; b=BFPFBpi1t4XDzNnpTjmb0AK/Q+Jp5lhRTrq1wDzVHIYU0AAqoPsb0kGR9b5vWN/Kew VDbWpOyOy3jw3sagizaULu/X5rbqUjtR59X5MahuNsZf6XrQRwIUg8WB9X0K0bXD6FzW v6NY19GXsHVxfuH8xa96L0i0BkebOWac5PJ/KKcChHbjxBQ90WnwTC/0Sf47djWzkq/5 sk2cb9Pdd/hEZSQ4gdyvsd8jxMzy4ZRS/H5k+XPRApQm8O/P6HIJEyBi26qn3Jxengu1 rCVZ9ZD9k8k1UM25KXVNJ35ueU6nqmJV/wuPzgVcew072vxl7jscSzXn+O+MS8cBSTws iLXg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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