Clean up bashrc

This commit is contained in:
2023-05-13 08:05:43 -04:00
parent b97e85a482
commit ab65bd3558

View File

@ -18,16 +18,12 @@ fi
if [ -d /opt/marben/asnsdk/TCE-C_V80 ]; then
export ASNSDK_TCE_DIR=/opt/marben/asnsdk/TCE-C_V80/Compiler
export PATH=$ASNSDK_TCE_DIR/bin:$PATH
elif [ -d /opt/marben/asnsdk/TCE-C_V61 ]; then
export ASNSDK_TCE_DIR=/opt/marben/asnsdk/TCE-C_V61/Compiler
export PATH=$PATH:$ASNSDK_TCE_DIR/bin
fi
# ROS 1
if [ -f /opt/ros/noetic/setup.bash ]; then
# 20.04
source /opt/ros/noetic/setup.bash
export PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
fi
# ROS 2
@ -60,11 +56,6 @@ if [ -d $HOME/anaconda3 ]; then
export PATH=$PATH:$HOME/anaconda3/bin
fi
# CARMA
if [ -d /usr/share/vcstool-completion ]; then
source /usr/share/vcstool-completion/vcs.bash
fi
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}