diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-07 20:11:19 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-11-07 20:11:19 +0200 |
commit | 286f7ec44eb0e70043a6ea5f928f6fac8f0f8163 (patch) | |
tree | 60bb45df41da316f43d3fe134b06a554d0a37784 | |
parent | 4e0c3ea6833e399bf8e4a635a37423c1833ff4ba (diff) | |
download | bash-completion-286f7ec44eb0e70043a6ea5f928f6fac8f0f8163.tar.gz |
cppcheck: Offer header filename completions too.
-rw-r--r-- | completions/cppcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/cppcheck b/completions/cppcheck index 5dd30931..dc321398 100644 --- a/completions/cppcheck +++ b/completions/cppcheck @@ -52,7 +52,7 @@ _cppcheck() COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) [[ $COMPREPLY == *= ]] && compopt -o nospace else - _filedir @(cpp|cxx|cc|c++|c|tpp|txx) + _filedir @(cpp|cxx|cc|c++|c|h|hpp|hxx|h++|tpp|txx) fi } && complete -F _cppcheck cppcheck |