vim/ultisnips-bullshit/sh.snippets @ 6c4c335faf47

Merge
author Steve Losh <steve@stevelosh.com>
date Tue, 06 Aug 2024 10:56:16 -0400
parents 1e75bf5d6f48
children (none)
snippet sete "set -euo pipefail" b
set -euo pipefail
endsnippet

snippet = "var" b
${1:var}="${2:val}"
endsnippet

snippet #! "#!" b
#!/usr/bin/env bash
endsnippet

snippet == "VAR=${$VAR:-default}" b
${1:VAR}="\$\{$1:-${2:default}\}"
endsnippet