Install yasnippet and vala-snippets packages

This commit is contained in:
Gergely Polonkai
2016-10-20 10:20:38 +02:00
parent d1468f35a7
commit a498706564
1085 changed files with 12052 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: script
# key: script
# --
script "${1:do something}" do
interpreter "bash"
user "${2:root}"
cwd "${3:/tmp}"
creates "${4:maybe}"
code <<-EOH
STATUS=0
$0 || STATUS=1
exit $STATUS
EOH
end