Last active
September 27, 2015 00:14
-
-
Save daaku/7f55a18cbe28e3fb0546 to your computer and use it in GitHub Desktop.
bash-prelude
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
shopt -s dotglob nullglob | |
trap 'echo "${0} line ${LINENO} Status: ${?}"' ERR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment