Skip to content

Instantly share code, notes, and snippets.

@Warrenn
Created June 12, 2020 10:22
Show Gist options
  • Save Warrenn/b2cf2da53efec82b328dd444710380a6 to your computer and use it in GitHub Desktop.
Save Warrenn/b2cf2da53efec82b328dd444710380a6 to your computer and use it in GitHub Desktop.
get the location of the script from wherever
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment