ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can use https://github.com/edc/bass to do that.
bass source /opt/ros/galactic/setup.bash
Also, if you launch fish after sourcing in bash, env values will be reflected.
// .bashrc
source /opt/ros/galactic/setup.bash
fish
For more advanced use cases, please take a look at my settings if you are interested. I've developed a couple of useful plugins.😀