From bbd6d74e68b4c362170f3949fae8625f9d9aea76 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 24 May 2023 12:26:00 -0500 Subject: fix(sheldon): update config for new syntax --- zsh/.config/sheldon/plugins.toml | 10 +++++++--- 1 file 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" -- cgit v1.2.3-70-g09d2