He, Peng

A Roboticist.

Robotic is the integration of all human knowledge, so far.

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

# 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"'
Recent Posts

How to Fix Windows and Linux Showing Different Times When Dual Booting

Your computer stores the time in a hardware clock on its motherboard. The clock keeps track of time,…

In Linux, Fix, How ToRead More
Earlier Posts

How To Setup Windows Subsystem of Ubuntu and Forwarding its Desktop(Graphics) to Windows

Abstract: This post is a reference article that I have tested working with on a Windows with Ubuntu…

In Setup, Linux, WSLRead More
comments powered by Disqus