From 63e09b338bb634cd54bb8a2129b12ba21bd04c91 Mon Sep 17 00:00:00 2001 From: dana Date: Sun, 10 Jun 2018 07:35:07 -0500 Subject: 42978: fix small but irritating bug in pbcopy completion --- ChangeLog | 2 ++ Completion/Darwin/Command/_pbcopy | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8300435b2..fb4a5a3a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2018-06-10 Oliver Kiddle + * 42978: dana: Completion/Darwin/Command/_pbcopy: fix small bug + * 42977: dana: Completion/Unix/Command/_man: Complete options to major man variants, otherwise improve especially section matching 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' ) -- cgit 1.4.1