Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] completion: fix typos in _git and _brace_parameter
- X-seq: zsh-workers 35970
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] completion: fix typos in _git and _brace_parameter
- Date: Sun, 2 Aug 2015 17:46:17 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received:received; s=postfix2; t=1438530384; bh=1wVVU6qO0rQUaoS OPXTHfx2kh2HXLLTRgdtKn9NjSpo=; b=snOcExm00b22RdaxcyVUfc9HwvKNPXj lZAXcw8Jm5CPifQiyq/Mtm3Uo/VW2GKJKNoukD5YaDRfxnSS6vksVESFVWPq3v2q MzIHYYOHwoQu73Djt7e/plghg+q69PIj9SiXtakngSu5BmqFn7gnUN1nITCXl2ZM 08A2p8sm8EsM=
- 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
From: Daniel Hahler <git@xxxxxxxxxx>
---
Completion/Unix/Command/_git | 4 ++--
Completion/Zsh/Context/_brace_parameter | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 26f108f..5b78a2b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -922,7 +922,7 @@ _git-grep () {
# TODO: Need to implement -<num> as a shorthand for -C<num>
_arguments -C -A '-*' \
'(-O --open-files-in-pager --no-index)--cached[search blobs registered in index file instead of working tree]' \
- '(--cached)--no-index[search files in current directory, not just treacked files]' \
+ '(--cached)--no-index[search files in current directory, not just tracked files]' \
'(--exclude-standard)--no-exclude-standard[also search in ignored files]' \
'(--no-exclude-standard)--exclude-standard[exclude files standard ignore mechanisms]' \
'--untracked[search in untracked files]' \
@@ -948,7 +948,7 @@ _git-grep () {
'(-z --null)'{-z,--null}'[output \0 after filenames]' \
'(-c --count)'{-c,--count}'[show number of matching lines in files]' \
'( --no-color)--color=-[color matches]:: :__git_color_whens' \
- '(--color )---no-color[do not color matches]' \
+ '(--color )--no-color[do not color matches]' \
'--break[prefix the line number to matching lines]' \
'--heading[show the filename above the matches]' \
'(-A --after-context)'{-A,--after-context=}'[show <num> trailing lines, and separate groups of matches]: :__git_guard_number lines' \
diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index 3955cb7..4097895 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -192,7 +192,7 @@ elif compset -P '*:([\|\*\^]|\^\^)'; then
elif compset -P '*:'; then
flags=(
'-:substitute alternate value if parameter is null'
- '+:susbtitute alternate value if parameter is non-null'
+ '+:substitute alternate value if parameter is non-null'
'=:substitute and assign alternate value if parameter is null'
'\:=:unconditionally assign value to parameter'
'?:print error if parameter is set and non-null'
--
2.4.6
Messages sorted by:
Reverse Date,
Date,
Thread,
Author