mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 06:20:55 +01:00
users/4503: don't complete source or header files after gcc -o
This commit is contained in:
parent
4f5132054f
commit
960a7e5347
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2001-12-07 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* users/4503: Completion/Unix/Command/_gcc: don't complete source
|
||||
or header files after -o.
|
||||
|
||||
2001-12-06 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* users/4519: Completion/Unix/Command/_zip: complete files
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ esac
|
|||
_arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \
|
||||
"$args[@]" \
|
||||
-c -S -E -v -a -w -C -H -P -s '(-pg)-p' '(-p)-pg' \
|
||||
'-o:output file:_files' \
|
||||
'-o:output file:_files -g \^\*.\(c\|h\|cc\|C\|cxx\)' \
|
||||
'-x:input file language:(c objective-c c++ c-header cpp-output c++-cpp-output assembler assembler-with-cpp none)' \
|
||||
'+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))' \
|
||||
'-d-:dump:->dump' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue