hamacs/templates/sh-mode.sh
Howard Abrams 9f6eca95a1 Including the Lissner's Snippet collection
This includes the starting auto-insert code for bash scripts, fish
scripts and Emacs lisp. Off to a great start here.
2021-11-12 13:05:31 -08:00

9 lines
348 B
Bash
Executable file

#!/usr/bin/env `(if (equal (file-name-extension buffer-file-name) "fish") "fish" "bash")`
# ----------------------------------------------------------------------
# `(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`: $0
# ----------------------------------------------------------------------
set -euo pipefail
$0