diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2014-12-06 10:50:31 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2014-12-06 11:42:23 +0100 |
commit | b9a2a3767c8c51bfeff3936541fdb76da6c14742 (patch) | |
tree | ba44bd0e2e7d4b253dbaf1f0e4f730de7256987e | |
parent | 167a15a9205417019f2dfe062d110e9f034386e8 (diff) | |
download | zsh-b9a2a3767c8c51bfeff3936541fdb76da6c14742.tar.gz zsh-b9a2a3767c8c51bfeff3936541fdb76da6c14742.tar.xz zsh-b9a2a3767c8c51bfeff3936541fdb76da6c14742.zip |
33882: Complete CXXFLAGS as CFLAGS too
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_gcc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f0b475431..3bd65cc20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-06 Mikael Magnusson <mikachu@gmail.com> + + * 33882: Completion/Unix/Command/_gcc: Complete CXXFLAGS as + CFLAGS too + 2014-12-05 Oliver Kiddle <opk@zsh.org> * 33861: Completion/Unix/Command/_lsof: diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index eae832307..2c5ffdc8a 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -1,4 +1,4 @@ -#compdef gcc g++ cc c++ llvm-gcc llvm-g++ clang clang++ -value-,LDFLAGS,-default- -value-,CFLAGS,-default- -value-,CPPFLAGS,-default- +#compdef gcc g++ cc c++ llvm-gcc llvm-g++ clang clang++ -value-,LDFLAGS,-default- -value-,CFLAGS,-default- -value-,CXXFLAGS,-default- -value-,CPPFLAGS,-default- local curcontext="$curcontext" state line ret=1 expl args args2 march typeset -A opt_args |