🔧 Basic espanso bash script for php
This commit is contained in:
parent
1c09f25d0e
commit
88d52fa7a4
2 changed files with 17 additions and 0 deletions
|
|
@ -300,6 +300,16 @@ matches:
|
|||
params:
|
||||
cmd: "~/scripts/html5 ; echo ''"
|
||||
|
||||
# returns default html5 layout
|
||||
- trigger: ";php"
|
||||
force_clipboard: true
|
||||
replace: "{{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: shell
|
||||
params:
|
||||
cmd: "~/scripts/php8 ; echo ''"
|
||||
|
||||
# returns default html5 layout in pug
|
||||
- trigger: ";pug5"
|
||||
force_clipboard: true
|
||||
|
|
|
|||
7
scripts/php8
Executable file
7
scripts/php8
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cat <<EOM
|
||||
<?php
|
||||
|
||||
?>
|
||||
EOM
|
||||
Loading…
Add table
Add a link
Reference in a new issue