[CMake] bash completion for cmake
eric.noulard at gmail.com
Mon Jul 26 20:07:49 EDT 2010
Here comes a proposal for a bash completion for cmake. Should work with almost
any cmake version because it's using cmake command to retrieve completion.
Prerequisite: You should have "bash-completion" package installed.
If you want to try you may either:
1) add the attache "cmake" file to /etc/bach_completion.d/
2) source the file in your current (bash shell)
$ . .cmake
$ cmake <TAB><TAB> offers first level completion
$ cmake --help-command <TAB><TAB> offers second level completion
I don't know how to handle third level for now.
Membre de l'April - « promouvoir et défendre le logiciel libre » -
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2335 bytes
Desc: not available
More information about the CMake