1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/services/espanso/basic-matches.yaml
Robert Helgesson 7145facdc6
espanso: fix test failure
(cherry picked from commit a46e702093)
2024-11-22 23:38:29 +01:00

18 lines
315 B
YAML

global_vars:
- name: currentdate
params:
format: '%d/%m/%Y'
type: date
- name: currenttime
params:
format: '%R'
type: date
matches:
- replace: It's {{currentdate}} {{currenttime}}
trigger: :now
- replace: 'line1
line2'
trigger: :hello
- regex: :hi(?P<person>.*)\.
replace: Hi {{person}}!