aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh/.config/sheldon/plugins.toml
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.config/sheldon/plugins.toml')
-rw-r--r--zsh/.config/sheldon/plugins.toml10
1 files changed, 7 insertions, 3 deletions
diff --git a/zsh/.config/sheldon/plugins.toml b/zsh/.config/sheldon/plugins.toml
index a1868b2..cb1b55c 100644
--- a/zsh/.config/sheldon/plugins.toml
+++ b/zsh/.config/sheldon/plugins.toml
@@ -1,6 +1,9 @@
[templates]
-defer = '{% for file in files %} zsh-defer source "{{ file }}" {% endfor %}'
-contrib_fpath = 'fpath=( "{{ dir }}/contrib/completion/zsh" $fpath )'
+defer = """{{ hooks | get: \"pre\" | nl }}
+{% for file in files %}
+zsh-defer source "{{ file }}"
+{% endfor %}
+{{ hooks | get: \"post\" | nl }}"""
base16_config = 'export BASE16_CONFIG_PATH="{{ dir }}"'
base16_fzf = 'export BASE16_FZF_PATH="{{ dir }}"'
@@ -29,7 +32,8 @@ apply = ["fpath"]
[plugins.docker]
github = "docker/cli"
-apply = ["contrib_fpath"]
+use = ["contrib/completion/zsh"]
+apply = ["fpath"]
[plugins.base16-shell]
github = "tinted-theming/base16-shell"