Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
219 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: bash
  3. # key: bash
  4. # --
  5. bash "${1:install something}" do
  6. user "${2:root}"
  7. cwd "${3:/tmp}"
  8. creates "${4:maybe}"
  9. code <<-EOH
  10. STATUS=0
  11. $0 || STATUS=1
  12. exit $STATUS
  13. EOH
  14. end