Updated shell rcs

This commit is contained in:
2022-05-13 10:22:30 -04:00
parent 08747c5d86
commit b5805601a1
2 changed files with 16 additions and 8 deletions

View File

@ -1,13 +1,5 @@
# NTCNA V2X development
# QT
QTVER=5.15.2
#QTVER=6.3.0
if [ -d /opt/Qt/$QTVER ]; then
export PATH=/opt/Qt/$QTVER/gcc_64/bin:$PATH
# export LD_LIBRARY_PATH=/opt/Qt/$QTVER/gcc_64/lib
fi
# Python and VirtualEnv
if [ -d ~/.local/bin ]; then
export PATH=~/.local/bin:$PATH

View File

@ -11,6 +11,17 @@ if [ -x /usr/local/bin/virtualenvwrapper.sh ]; then
source /usr/local/bin/virtualenvwrapper.sh
fi
# Android Studio
if [ -d ~/android-studio ]; then
export PATH=$PATH:~/android-studio/bin
fi
# ROS 1
if [ -f /opt/ros/noetic/setup.bash ]; then
# 20.04/22.04
source /opt/ros/noetic/setup.bash
export PYTHONPATH=$PYTHONPATH:$HOME/catkin_ws/devel/lib/python3/dist-packages
fi
# ROS 2
#if [ -f /opt/ros/foxy/setup.bash ]; then
# 20.04/22.04
@ -35,3 +46,8 @@ if [ -d $HOME/PyVehicle/classes ]; then
export PYTHONPATH=$PYTHONPATH:$HOME/PyVehicle/classes:$HOME/PyVehicle/classes/j2735
fi
#export NTCNA_DVIHMI_PATH=$HOME/PyVehicle/ntcna_dvihmi
# Anaconda
if [ -d $HOME/anaconda3 ]; then
export PATH=$PATH:$HOME/anaconda3/bin
fi