mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-30 05:40:58 +01:00
35970: completion: fix typos in _git and _brace_parameter
This commit is contained in:
parent
f4723a0c08
commit
d90f92194f
3 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-08-02 Daniel Hahler <zsh@thequod.de>
|
||||||
|
|
||||||
|
* 35970: Completion/Unix/Command/_git,
|
||||||
|
Completion/Zsh/Context/_brace_parameter: completion: fix typos in _git
|
||||||
|
and _brace_parameter.
|
||||||
|
|
||||||
2015-08-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
2015-08-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
* 35957: Completion/Unix/Command/_make: fix _make-expandVars(),
|
* 35957: Completion/Unix/Command/_make: fix _make-expandVars(),
|
||||||
|
|
|
||||||
|
|
@ -922,7 +922,7 @@ _git-grep () {
|
||||||
# TODO: Need to implement -<num> as a shorthand for -C<num>
|
# TODO: Need to implement -<num> as a shorthand for -C<num>
|
||||||
_arguments -C -A '-*' \
|
_arguments -C -A '-*' \
|
||||||
'(-O --open-files-in-pager --no-index)--cached[search blobs registered in index file instead of working tree]' \
|
'(-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]' \
|
'(--exclude-standard)--no-exclude-standard[also search in ignored files]' \
|
||||||
'(--no-exclude-standard)--exclude-standard[exclude files standard ignore mechanisms]' \
|
'(--no-exclude-standard)--exclude-standard[exclude files standard ignore mechanisms]' \
|
||||||
'--untracked[search in untracked files]' \
|
'--untracked[search in untracked files]' \
|
||||||
|
|
@ -948,7 +948,7 @@ _git-grep () {
|
||||||
'(-z --null)'{-z,--null}'[output \0 after filenames]' \
|
'(-z --null)'{-z,--null}'[output \0 after filenames]' \
|
||||||
'(-c --count)'{-c,--count}'[show number of matching lines in files]' \
|
'(-c --count)'{-c,--count}'[show number of matching lines in files]' \
|
||||||
'( --no-color)--color=-[color matches]:: :__git_color_whens' \
|
'( --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]' \
|
'--break[prefix the line number to matching lines]' \
|
||||||
'--heading[show the filename above the matches]' \
|
'--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' \
|
'(-A --after-context)'{-A,--after-context=}'[show <num> trailing lines, and separate groups of matches]: :__git_guard_number lines' \
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ elif compset -P '*:([\|\*\^]|\^\^)'; then
|
||||||
elif compset -P '*:'; then
|
elif compset -P '*:'; then
|
||||||
flags=(
|
flags=(
|
||||||
'-:substitute alternate value if parameter is null'
|
'-: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'
|
'=:substitute and assign alternate value if parameter is null'
|
||||||
'\:=:unconditionally assign value to parameter'
|
'\:=:unconditionally assign value to parameter'
|
||||||
'?:print error if parameter is set and non-null'
|
'?:print error if parameter is set and non-null'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue