confi-emacs-actual/snippets/sh-mode/ife

10 lines
122 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# name: ife
# key: ife
# uuid: ife
# --
if ${1:condition}; then
`%`${2:# code}
else
$0
fi