feat: Add environment files

This commit is contained in:
2025-09-18 13:22:56 +02:00
parent af72a43e0b
commit 96a877d10e
3 changed files with 74 additions and 22 deletions

15
activate.fish Normal file
View File

@@ -0,0 +1,15 @@
# Check if running inside distrobox
if test -n "$__ROS_INITIALIZED"
exit 1
end
export __ROS_INITIALIZED="1"
if test -f /run/.containerenv; or test -n "$CONTAINER_ID"
bass source /opt/ros/jazzy/setup.bash
bass source ./install/setup.bash
else
echo "This script should only be run inside a distrobox container"
exit 1
end