aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sheldon
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-01 17:27:22 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-01 17:34:42 -0600
commit54cc36c49ce0183d2417e717abd0f3ec6ee5aa13 (patch)
tree4195a5237def5b10ebeb7018a26c9483dbcc8671 /sheldon
parent030709afb30b66986f7c6dc500a25b5cdbb15f5e (diff)
fix(sheldon): update syntax for optional access
Diffstat (limited to 'sheldon')
-rw-r--r--sheldon/.config/sheldon/plugins.toml6
1 files changed, 1 insertions, 5 deletions
diff --git a/sheldon/.config/sheldon/plugins.toml b/sheldon/.config/sheldon/plugins.toml
index cb1b55c..6551452 100644
--- a/sheldon/.config/sheldon/plugins.toml
+++ b/sheldon/.config/sheldon/plugins.toml
@@ -1,9 +1,5 @@
[templates]
-defer = """{{ hooks | get: \"pre\" | nl }}
-{% for file in files %}
-zsh-defer source "{{ file }}"
-{% endfor %}
-{{ hooks | get: \"post\" | nl }}"""
+defer = '{{ hooks?.pre | nl }}{% for file in files %}zsh-defer source "{{ file }}"\n{% endfor %}{{ hooks?.post | nl }}'
base16_config = 'export BASE16_CONFIG_PATH="{{ dir }}"'
base16_fzf = 'export BASE16_FZF_PATH="{{ dir }}"'