generated from wessel/boilerplate
feat: Add environment files
This commit is contained in:
15
activate.fish
Normal file
15
activate.fish
Normal 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
|
||||
Reference in New Issue
Block a user