Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _zstyle vcs_info: Unbreak branchformat completion
- X-seq: zsh-workers 34367
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _zstyle vcs_info: Unbreak branchformat completion
- Date: Sat, 24 Jan 2015 15:26:52 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:subject:message-id :mime-version:content-type; s=mesmtp; bh=Q4VB3RRwnMGC9q1KzddvHpk /wf4=; b=XQL21PAimYk92tM6EJTJYjY97iGmN+5+xJrgkQa21cYccncBGUirLMR 6WV1OUx7pGZpDCJ2MlTwuqlbOgw8TfWhqgUZZoidfri6zqkcLJlMHJDaMQFAlsvs X19dbPY7dlf2pDoMew4P5VK+OpPmKCpBOITauBztG9vp7q1/zTUs=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:subject :message-id:mime-version:content-type; s=smtpout; bh=Q4VB3RRwnMG C9q1KzddvHpk/wf4=; b=HxjbqgusduDaJjx+s1TqmFBzCwiTknZ/dl84A/8s6xr aABS4gRXtoI2zHA0wk4VkKR93Iz3iyJ3ygxZL2n6HWSAnAWIEMbu5EU4ApmhUQ+f LLQhMFHTXgGfKpSS4+az/ssvTUi+jM/7DlBmhgfQk+8jjTL1ankeZYpKOxxMt0hA =
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Trivial patch to fix an obvious typo.
From 0a8b9f4e0fdef883813b368e79d4aa332f7d704d Mon Sep 17 00:00:00 2001
From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Jan 2015 08:05:02 +0000
Subject: [PATCH 1/2] _zstyle vcs_info: Unbreak branchformat completion
The failure mode was:
% zstyle ':vcs_info:*' branchformat "foobar%<TAB>
_values:compvalues:10: no multi-letter values with empty separator allowed
---
Completion/Zsh/Command/_zstyle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index eb27117..c8e1c2b 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -549,7 +549,7 @@ while (( $#state )); do
compset -P '*%'
_values -s '' 'format replacement' \
'b[the current branch]' \
- 'r[current revision number]' \
+ 'r[current revision number]'
else
_message -e formats 'vcs format'
fi
--
1.9.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author