My Bashrc

It is very helpful to keep your bashrc consistant.


# for tilix terminal
# Use this commented line to create the link and first.
# sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
        source /etc/profile.d/vte.sh
fi

# xserver shortcut, !! only uncomment these two lines if you are forwarding the xdisplay, say your ubuntu system has no monitor connected.
#export DISPLAY=:0.0
#alias xdisplay='dbus-launch --exit-with-session ~/.xsession'

# My IDEs
alias sskey='xmodmap ~/.Xmodmap' # swap ctr and alt
alias xlion='bash ~/Apps/clion/bin/clion.sh'
alias xgendoc='rosdoc_lite . -o ~/catkin_ws/src/doc/'

# ROS related
alias hpmake='cd ~/catkin_ws && catkin_make'
alias exmaster="export ROS_MASTER_URI='http://ubuntu1:11311'"
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

# ML
alias hconda='export PATH="/home/user/anaconda3/bin:$PATH"'