diff options
author | Peter Stephenson <pws@zsh.org> | 2014-10-17 09:43:32 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2014-10-17 09:43:32 +0100 |
commit | e02ff159b3e0254b783e67a9f8225893284aa213 (patch) | |
tree | 75e1ef0840baad402e8ee83375ee1ed0162a01b4 /Completion/Unix/Command/_gcc | |
parent | f144cb732f9b2f118a511d99c7acee6e57890798 (diff) | |
download | zsh-e02ff159b3e0254b783e67a9f8225893284aa213.tar.gz zsh-e02ff159b3e0254b783e67a9f8225893284aa213.tar.xz zsh-e02ff159b3e0254b783e67a9f8225893284aa213.zip |
see 33475: allow .cpp files to be completed as gcc input
Diffstat (limited to 'Completion/Unix/Command/_gcc')
-rw-r--r-- | Completion/Unix/Command/_gcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index c6bbabbe9..eae832307 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -13,7 +13,7 @@ if [[ "$service" = -value-* ]]; then args2=() fi else - args2=( '*:input file:_files -g "*.([cCmisSoak]|cc|cxx|ii|k[ih])(-.)"' ) + args2=( '*:input file:_files -g "*.([cCmisSoak]|cc|cpp|cxx|ii|k[ih])(-.)"' ) fi args=() |