diff options
Diffstat (limited to 'files')
| -rw-r--r-- | files/.vim/UltiSnips/sh.snippets | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/.vim/UltiSnips/sh.snippets b/files/.vim/UltiSnips/sh.snippets index 4fc51e9..1e22d1a 100644 --- a/files/.vim/UltiSnips/sh.snippets +++ b/files/.vim/UltiSnips/sh.snippets @@ -19,3 +19,10 @@ while getopts ":h" opt; do done shift $((OPTIND - 1)) endsnippet + +snippet die +die() { + echo "\$1" >&2 + exit 1 +} +endsnippet |
