Install editor modes and bash completion to more discoverable location
The vim
and emacs
editor modes and the bash
completion files are currently installed under CMAKE_DATA_DIR
which is typically a path like share/cmake-X.Y/
. CMAKE_DATA_DIR
is meant for internal CMake resources, but the editor/shell files are meant for direct public consumption by other tools. We should move them to a more natural and discoverable location. Otherwise distro packagers may not even notice the files.