Try this for breadcrumbs in Linux:
- trigger: ":bc"
replace: "[[{{yesterdaybc}}|<< Yesterday]] | [[{{tomorrowbc}}|Tomorrow >>]]"
vars:
- name: yesterdaybc
type: shell
params:
cmd: "bash -c 'date +%Y-%m-%d -d -1day'"
- name: tomorrowbc
type: shell
params:
cmd: "bash -c 'date +%Y-%m-%d -d +1day'"
This is what I get when I press :bc
:
[[2020-10-19|<< Yesterday]] | [[2020-10-21|Tomorrow >>]]
My espanso file is pretty big, because I use Windows and Linux, so I need one script for each system.
- edit: I’m on Linux Mint.