confi-emacs-actual/snippets/sh-mode/ife
2022-03-29 19:21:13 -04:00

10 lines
122 B
Plaintext

# -*- mode: snippet -*-
# name: ife
# key: ife
# uuid: ife
# --
if ${1:condition}; then
`%`${2:# code}
else
$0
fi