Skip to content

Instantly share code, notes, and snippets.

@njanirudh
Last active July 10, 2025 20:03
Show Gist options
  • Save njanirudh/8641724927d8f34be24fce868d3e4be8 to your computer and use it in GitHub Desktop.
Save njanirudh/8641724927d8f34be24fce868d3e4be8 to your computer and use it in GitHub Desktop.
Example ~/.bashrc
# ----------------USER--------------
# Showing git branch
source /usr/lib/git-core/git-sh-prompt
export PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\[\033[00m\] $"
# ROS2
source /opt/ros/galactic/setup.bash
source $HOME/ubica_ws/install/setup.bash
# source $HOME/temp_ws/install/setup.bash
source /opt/halcon2011/.profile_halcon
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
export ROS_LOCALHOST_ONLY=1
# custom alias
alias vncv='/opt/TurboVNC/bin/vncviewer server.lan:'
alias whichros='printenv | grep -i ROS'
alias myros='source $HOME/ubica_ws/install/setup.bash; cd $HOME/ubica_ws'
alias pycharm='nohup /home/anirudh_jayasimha/Softwares/pycharm-community-2021.2.3/bin/pycharm.sh > /dev/null 2>&1&'
alias clion='nohup /snap/bin/clion > /dev/null 2>&1&'
alias robo3t='nohup /home/anirudh_jayasimha/Softwares/robo3t-1.4.4-linux-x86_64-e6ac9ec/bin/robo3t > /dev/null 2>&1&'
# exe
# export PATH=$PATH:'/home/anirudh_jayasimha/Softwares/robo3t-1.4.4-linux-x86_64-e6ac9ec/bin/'
# export PATH=$PATH:'/home/anirudh_jayasimha/Softwares/pycharm-community-2021.2.3/bin/'
# -----------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment