From 960a7e534702b487d82b28dde99053db6f33b992 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 7 Dec 2001 12:43:32 +0000 Subject: users/4503: don't complete source or header files after gcc -o --- Completion/Unix/Command/_gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_gcc') diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index f826f9793..e6c81e408 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -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' \ -- cgit 1.4.1