unix-conf/.emacs.d/elpa/yasnippet-20160131.948/snippets/chef-mode/bash

14 lines
219 B
Plaintext
Raw Normal View History

2016-02-18 13:53:30 +00:00
# -*- mode: snippet -*-
# name: bash
# key: bash
# --
bash "${1:install something}" do
user "${2:root}"
cwd "${3:/tmp}"
creates "${4:maybe}"
code <<-EOH
STATUS=0
$0 || STATUS=1
exit $STATUS
EOH
end