Clean up bashrc
This commit is contained in:
@ -18,16 +18,12 @@ fi
|
|||||||
if [ -d /opt/marben/asnsdk/TCE-C_V80 ]; then
|
if [ -d /opt/marben/asnsdk/TCE-C_V80 ]; then
|
||||||
export ASNSDK_TCE_DIR=/opt/marben/asnsdk/TCE-C_V80/Compiler
|
export ASNSDK_TCE_DIR=/opt/marben/asnsdk/TCE-C_V80/Compiler
|
||||||
export PATH=$ASNSDK_TCE_DIR/bin:$PATH
|
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
|
fi
|
||||||
|
|
||||||
# ROS 1
|
# ROS 1
|
||||||
if [ -f /opt/ros/noetic/setup.bash ]; then
|
if [ -f /opt/ros/noetic/setup.bash ]; then
|
||||||
# 20.04
|
# 20.04
|
||||||
source /opt/ros/noetic/setup.bash
|
source /opt/ros/noetic/setup.bash
|
||||||
export PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ROS 2
|
# ROS 2
|
||||||
@ -60,11 +56,6 @@ if [ -d $HOME/anaconda3 ]; then
|
|||||||
export PATH=$PATH:$HOME/anaconda3/bin
|
export PATH=$PATH:$HOME/anaconda3/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# CARMA
|
|
||||||
if [ -d /usr/share/vcstool-completion ]; then
|
|
||||||
source /usr/share/vcstool-completion/vcs.bash
|
|
||||||
fi
|
|
||||||
|
|
||||||
parse_git_branch() {
|
parse_git_branch() {
|
||||||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user