Skip to content

Instantly share code, notes, and snippets.

View zchen24's full-sized avatar

Zihan Chen zchen24

  • Cornerstone Robotics Limited
View GitHub Profile
#!/usr/bin/env bash
# Set the workspace to the current directory
alias wspwd='export ROS_WORKSPACE=$(pwd)'
# Save the workspace used in this shell as the current workspace
alias wssave='echo -e "$ROS_WORKSPACE" > ~/.curws'
# Load the saved workspace into this shell
alias wsload='source $(cat ~/.curws)/setup.bash'