From: Syohei YOSHIDA <syohex@gmail.com>
To: zsh-workers@zsh.org
Cc: Syohei YOSHIDA <syohex@gmail.com>
Subject: [PATCH] Update GNU global option completion
Date: Mon, 13 Oct 2014 12:43:43 +0900 [thread overview]
Message-ID: <1413171823-3965-1-git-send-email-syohex@gmail.com> (raw)
Update for 6.3.2.
Signed-off-by: Syohei YOSHIDA <syohex@gmail.com>
---
Completion/Unix/Command/_global | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Completion/Unix/Command/_global b/Completion/Unix/Command/_global
index bb6f7a0..c4714cb 100644
--- a/Completion/Unix/Command/_global
+++ b/Completion/Unix/Command/_global
@@ -11,14 +11,30 @@ _arguments \
"$cmds"{-P,--path}'[print paths matching pattern]:pattern:' \
"$cmds"{-u,--update}'[locate tag files and update incrementally]' \
'(-a --absolute)'{-a,--absolute}'[print absolute path names]' \
+ '(--color)--color=-[color matches]::color:(always auto never)' \
+ '(-d --definition)'{-d,--definition}'[print locations of definitions]' \
'(-e --regexp :)'{-e,--regexp}'[specify pattern]:pattern:_global_tags' \
+ '(--encode-path)--encode-path=-[encode path charcters in hexadecimal representation]:format' \
+ '(-F --first-match)'{-f,--first-match}'[stop searching if tag is found in current tag file]' \
+ '(--from-here)--from-here=-[decide tag type by context]:line_path:' \
'(-G --basic-regexp :)'{-G,--basic-regexp}'[specify basic regexp to use]:word:_global_tags' \
+ '(--gtagsconf)--gtagsconf=-[set environment variable GTAGSCONF]:file:_files' \
+ '(--gtagslabel)--gtagslabel=-[set environment variable GTAGSLABEL]:file:_files' \
'(-i --ignore-case)'{-i,--ignore-case}'[ignore case in patterns]' \
+ '(-L --file-list)'{-L,--file-list}'[obtain files from file in addition to the arguments]:file:_files' \
'(-l --local)'{-l,--local}'[print just objects which exist under the current directory]' \
+ '(--literal)--literal[use leteral search instead of regexp search]' \
+ '(-M --match-case)'{-m,--match-case}'[enable case sensitive search]' \
+ '(--match-part)--match-part=-[speficy how path name completion should match]::part:(first last all)' \
'(-n --nofilter)'{-n,--nofilter}'[suppress sort filter and path conversion filter]' \
+ '(-O --only-other)'{-O,--only-other}'[search only text files]' \
'(-o --other)'{-o,--other}'[search in other files, not just source files (with -g)]' \
+ '(--path-style)--path-style=-[specify path style]::style:(relative absolute shorter abslib through)' \
+ '(--print0)--print0[print each record followed by a null character]' \
'(-q --quiet)'{-q,--quiet}'[quiet mode]' \
'(-r --reference --rootdir)'{-r,--reference,--rootdir}'[find object references instead of definitions]' \
+ '(--result)--result=-[specify result format]::format:(path ctags ctags-x grep cscope)' \
+ '(- :)--single-update=-[updata tag for specified file]:file:_files' \
'(-s --symbol)'{-s,--symbol}'[find symbols instead of function names]:pattern' \
'(-t --tags)'{-t,--tags}'[output in standard ctags format]' \
'(-T --through -s -r -l)'{-T,--through}'[search through all tag files in GTAGSLIBPATH]' \
--
1.9.1
reply other threads:[~2014-10-13 3:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1413171823-3965-1-git-send-email-syohex@gmail.com \
--to=syohex@gmail.com \
--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).