diff options
-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 66ea195d3..8c7ab6a28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-05-02 Daniel Shahaf <d.s@daniel.shahaf.name> + + * 45752/0001: Completion/Unix/Command/_gcc: Add .cpp and .hpp + to the ignored extensions list. + 2020-04-27 Benjamin Esham <benjamin@esham.io> * github #56: Doc/Zsh/mod_zutil.yo: typo: Add a single quote diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index 9ec09200e..4e81247d4 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -390,7 +390,7 @@ languages=( # generic options (from --help) args+=( '-###[print commands to run this compilation]' - '-o:output file:_files -g "^*.(c|h|cc|C|cxx)(-.)"' + '-o:output file:_files -g "^*.(c|h|cc|C|cxx|cpp|hpp)(-.)"' '-x[Specify the language of the following input files]:input file language:('"$languages"')' '+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))' '-d-:dump:->dump' |