by hypertexthero · 1y ago · 0 comments
I’ve tried the following in default.yml and reloading the config, but it’s not working and Claude, Gemini, and myself are stumped :)
matches:
- trigger: ":date"
replace: "{{mydate}}"
vars:
- name: mydate
type: date
params:
format: "%Y-%m-%d" /Users/$USER/Library/Application Support/espanso/match/base.yml
…to read: # Print the current date
- trigger: ":date"
replace: "{{mydate}}"
vars:
- name: mydate
type: date
params:
format: "%Y-%m-%d" - trigger: ";tod"
replace: "{{mydate}}"
vars:
- name: mydate
type: shell
params:
cmd: date --iso-8601I have it in `~/.config/espanso/match/base.yml`.