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 | |
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
-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 2cd32bb51..fce6a221a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-10-17 Peter Stephenson <p.stephenson@samsung.com> + + * see 33475: Completion/Unix/Command/_gcc: allow .cpp files as + input. + 2014-10-14 Oliver Kiddle <opk@zsh.org> * 33455: Syohei YOSHIDA: Completion/Unix/Command/_global: 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=() |