- Emails
- Email greeting
- Email signatures
- Socials
- Google searches
- trigger: "~greet"
replace: "{{time_of_day}}"
vars:
- name: shell_output
type: shell
params:
cmd: if [[ $(date +%H) -lt 12 ]]; then echo "Good morning,"; elif [[ $(date +%H) -lt 17 ]]; then echo "Good afternoon,"; else echo "Good evening,"; fi
- name: time_of_day
type: echo
params:
echo: "{{shell_output}}"
- trigger: "~kg"
replace: |
Kind regards,
John
- trigger: "~ty"
replace: |
Thank you,
John
- trigger: "cjxe@github"
replace: "https://github.com/cjxe"
- trigger: "myukphone"
replace: "+44000000000"
- trigger: "wws"
replace: "site:stackoverflow.com"