Skip to content

Instantly share code, notes, and snippets.

@neontorrent
Created August 8, 2022 00:12
Show Gist options
  • Save neontorrent/403547f61bb337366de887124479e998 to your computer and use it in GitHub Desktop.
Save neontorrent/403547f61bb337366de887124479e998 to your computer and use it in GitHub Desktop.
Open script directory
EXECFILE="$(readlink "$0" || echo "$0")"
EXECPATH="$( cd -- "$(dirname "$EXECFILE")" >/dev/null 2>&1 ; pwd -P )"
cd "$EXECPATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment