[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-519-g286f7ec
Ville Skyttä
ville.skytta at iki.fi
Mon Nov 7 18:11:38 UTC 2011
The following commit has been merged in the master branch:
commit 286f7ec44eb0e70043a6ea5f928f6fac8f0f8163
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Nov 7 20:11:19 2011 +0200
cppcheck: Offer header filename completions too.
diff --git a/completions/cppcheck b/completions/cppcheck
index 5dd3093..dc32139 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
--
bash-completion
More information about the Bash-completion-commits
mailing list