Skip to content

Instantly share code, notes, and snippets.

@nelseric
Created October 8, 2015 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelseric/e773bd80734556f0e01e to your computer and use it in GitHub Desktop.
Save nelseric/e773bd80734556f0e01e to your computer and use it in GitHub Desktop.
hook_file="$rvm_path/hooks/after_use_spring_project"
echo '[[ -f "$PWD/bin/spring" && -d "$PWD/bin" ]] && PATH=$PWD/bin:$PATH' > "$hook_file"
chmod +x "$hook_file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment