Skip to content

Instantly share code, notes, and snippets.

@jaburns
Created June 16, 2016 21:50
Show Gist options
  • Save jaburns/c98ad761e624e7e2674c2a914efaceda to your computer and use it in GitHub Desktop.
Save jaburns/c98ad761e624e7e2674c2a914efaceda to your computer and use it in GitHub Desktop.
cd to the location of the script being run
cd "$(dirname "${BASH_SOURCE[0]}")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment