hamacs/templates/sh-mode.sh

9 lines
348 B
Bash
Raw Permalink Normal View History

#!/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