Skip to content

Instantly share code, notes, and snippets.

@jbohren
Last active December 13, 2015 22:49
Show Gist options
  • Select an option

  • Save jbohren/4987294 to your computer and use it in GitHub Desktop.

Select an option

Save jbohren/4987294 to your computer and use it in GitHub Desktop.
Useful bash aliases for wstool/rosws
# Set the ros workspace to the current directory
alias wspwd='export ROS_WORKSPACE=$(pwd)'
# Save the current directory as the current ros workspace
alias wssave='echo -e "$ROS_WORKSPACE" > ~/.curws'
# Load the saved ros workspace
alias wsload='source $(cat ~/.curws)/setup.bash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment