[cmake-developers] Review request: bash completion enhancement:

Eric Noulard eric.noulard at gmail.com
Sun Apr 22 13:35:09 EDT 2012


Hi all,

I just push a stage/EnhanceBash-completion-part1
which includes the contribution from Igor Murzov
http://cmake.org/Bug/view.php?id=13056

Previous completion files were done by me, those from Igor are far
better than mine.
I tried to adapt Igor's proposal to the current CMake source layout and put
the files in Docs/ subdir.

Before that the completion file (as any other file found in Docs) were
not installed at all.
I think it's better to install those file such that Distro packager
can include them.

I didn't pushed to next because I didn't know why vim file or emacs
highlighting files
found in the same directory are not installed.

Could someone review the patch before I merge to next?

As stated in http://cmake.org/Bug/view.php?id=13056
if you use a distribution with bash_completion < 2.0 you need to either
source cmake/cpack/ctest from the shell or
install symbolic links from share/completions/c* to /etc/bash_completion.d/

(and start a new bash).
-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org



More information about the cmake-developers mailing list