/sh-mode/ift

http://github.com/ridgetang/snippets · #! · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 67399387c984e520afe01766db95492d MD5 · raw file

  1. # -*- mode: yasnippet -*-
  2. #name : if [[ test ]] ... fi
  3. # --
  4. if [[ ${1:condition} ]]; then
  5. ${0:statements}
  6. fi