universal-ctags / ctags

A maintained ctags implementation
https://ctags.io
GNU General Public License v2.0
6.56k stars 626 forks source link

shell completion rule #1168

Open masatake opened 8 years ago

masatake commented 8 years ago

Write completion rules for bash and/or zsh. It is important to evaluate the design of ctags command line interface. Especially about the name of option.

I will write for bash as part of #1166.

masatake commented 8 years ago

A simple rule works.

[yamato@x201 ctags-github]$ ctags --kinds-_
--kinds-Ant=         --kinds-DosBatch=    --kinds-MatLab=      --kinds-SML=
--kinds-Asm=         --kinds-Eiffel=      --kinds-OCaml=       --kinds-SQL=
--kinds-Asp=         --kinds-Erlang=      --kinds-Pascal=      --kinds-Tcl=
--kinds-Awk=         --kinds-Flex=        --kinds-Perl=        --kinds-Tex=
--kinds-Basic=       --kinds-Fortran=     --kinds-PHP=         --kinds-Vera=
--kinds-BETA=        --kinds-HTML=        --kinds-Python=      --kinds-Verilog=
--kinds-C=           --kinds-Java=        --kinds-REXX=        --kinds-VHDL=
--kinds-C#=          --kinds-JavaScript=  --kinds-Ruby=        --kinds-Vim=
--kinds-C++=         --kinds-Lisp=        --kinds-Scheme=      --kinds-YACC=
--kinds-Cobol=       --kinds-Lua=         --kinds-Sh=          
--kinds-CSS=         --kinds-Make=        --kinds-SLang=       
masatake commented 1 year ago

https://github.com/zsh-users/zsh/commit/ab166725dd5983b00cf21113fb77717c6be324c5