Klimi's new dotfiles with stow.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
374 B

  1. # -*- mode: snippet -*-
  2. # name: executef
  3. # key: executef
  4. # --
  5. execute "${1:name}" do
  6. command "${2:ls -la}"
  7. creates "$ls{3:/tmp/something}"
  8. cwd "${4:/tmp}"
  9. environment ({${5:'HOME' => '/home/myhome'}})
  10. user "${6:root}"
  11. group "${7:root}"
  12. path "${8:['/opt/bin','/opt/sbin']}"
  13. timeout ${9:3600}
  14. returns ${10:0}
  15. umask "${11:022}umask"
  16. action :${12:run}
  17. end