Skip to content

Instantly share code, notes, and snippets.

@jbohren
Last active December 13, 2015 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jbohren/4987294 to your computer and use it in GitHub Desktop.
Save jbohren/4987294 to your computer and use it in GitHub Desktop.
Useful bash aliases for wstool/rosws
#!/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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment