dotfiles/.config/coc/ultisnips/sh.snippets

10 lines
180 B
Plaintext
Raw Permalink Normal View History

snippet sceleton "bash" b
#!/usr/bin/env ${1:bash}
set -eou pipefail
${0}
endsnippet
snippet info "script name and version" b
this="${0##*/}"
version="`date +%Y-%m-%d`"
endsnippet