Hi Dima,
* Dima Kogan <dkogan@debian.org> [2023-07-12 11:37]:
The file is installed as:
/usr/share/bash-completion/completions/rosbash
So we could adopt the path in 15.rosbash.bash. But I wonder if we should
rather source that file by default.
Up to 1.15.8-1 (buster) rosbash installed that file into
/etc/bash_completion.d/rosbash and it was sourced automatically when
bash-completion was activated. In 1.15.8-1 this was changed to
/usr/share.. because the /etc patch is deprecated (afair) but
bash-completion does not source those files automatically anymore.
The only option I found is adding a link in /etc/profile.d/.
for fish, tcsh and zsh the respective files are sourced automatically
already, so we should probably remove the corresponding
catkin_env_hooks.
Btw. ros-noetic-rosbash contains:
/opt/ros/noetic/share/rosbash/catkin_env_hook/15.rosbash.*
and
/opt/ros/noetic/etc/catkin/profile.d/15.rosbash.*
But I'm not sure when either are used, does someone know?
Cheers Jochen