Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Update GNU global option completion
- X-seq: zsh-workers 33455
- From: Syohei YOSHIDA <syohex@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Update GNU global option completion
- Date: Mon, 13 Oct 2014 12:43:43 +0900
- Cc: Syohei YOSHIDA <syohex@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ttQsA3DBxOnQdJbxuKIbw5NS8r8/Okaz0uMaRCuD/Es=; b=KNnpePM7gqIIq4OedLsgL9iEyLY3liItDAHN1ai2g5cKVMiUezn7LQWYbs0zgb4Urz sE9xQJXQPBf9Gd2y/Z+or3x8o1nKJLOss0t49pyBvZgEQUWnLTxRunhmu4dPfimSeCfN 5cYOPT6ueA+jM7dvtPobyvXivaFzlsuGpMtURpAR4pIp4v4/DMSozzCae/AMj/RB/FDq ce40HTI+KO9qvJYzYaKpoa1jjuZEa763bQY9+0rMpHRwx5rZ8lyQboGwqc9TyT68aJFC TxqmHGhnPGp1NDm3+gXlRMcQFG1wxsRfsoLlsvGW0h5QaKGDcfAKulUPV57QoiDWS6R1 blyw==
- 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
Update for 6.3.2.
Signed-off-by: Syohei YOSHIDA <syohex@xxxxxxxxx>
---
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author