Adds a line with set -euo pipefail to the sh-mode file template, which improves the erroring of bash scripts As described by https://ashishb.net/all/the-first-two-statements-of-your-bash-script-should-be/
4 lines
110 B
Text
4 lines
110 B
Text
#!/usr/bin/env `(if (equal (file-name-extension buffer-file-name) "zsh") "zsh" "bash")`
|
|
set -euo pipefail
|
|
|
|
$0
|