Skip to content

Instantly share code, notes, and snippets.

@JonasGroeger
Created October 4, 2021 09:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JonasGroeger/eb4bc23b328106bc6e9ae0f3b43cd56e to your computer and use it in GitHub Desktop.
Bash script template
#!/usr/bin/env bash
set -Eeuo pipefail
SCRIPT_DIR=$(python -c "import os, sys; print(os.path.dirname(os.path.realpath('${BASH_SOURCE[0]}')))")
echo "Hi!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment