From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: [PATCH] _zstyle vcs_info: Unbreak branchformat completion
Date: Sat, 24 Jan 2015 15:26:52 +0000 [thread overview]
Message-ID: <20150124152652.GC20359@tarsus.local2> (raw)
[-- Attachment #1: Type: text/plain, Size: 38 bytes --]
Trivial patch to fix an obvious typo.
[-- Attachment #2: 0001-_zstyle-vcs_info-Unbreak-branchformat-completion.patch --]
[-- Type: text/x-patch, Size: 964 bytes --]
>From 0a8b9f4e0fdef883813b368e79d4aa332f7d704d Mon Sep 17 00:00:00 2001
From: Daniel Shahaf <d.s@daniel.shahaf.name>
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
next reply other threads:[~2015-01-24 15:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-24 15:26 Daniel Shahaf [this message]
2015-01-25 0:45 ` Frank Terbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150124152652.GC20359@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).