Skip to content

Instantly share code, notes, and snippets.

@jbohren
Created February 25, 2014 03:18
Show Gist options
  • Select an option

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

Select an option

Save jbohren/9202001 to your computer and use it in GitHub Desktop.
# COMPLETION SETTINGS
# add custom completion scripts
fpath=(~/.zsh/completion $fpath)
# compsys initialization
autoload -U compinit
compinit
catkin_run_tests () {
catkin_make run_tests_$1
}
compdef _rospack_complete catkin_run_tests
alias crt='catkin_run_tests'
alias wspwd='export ROS_WORKSPACE=$(pwd)'
alias wssave='echo -e "$(pwd)" > ~/.curws'
alias wsload='source $(cat ~/.curws)/setup.zsh'
alias wscd='cd $(cat ~/.curws)/../src'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment