diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-05-25 15:49:46 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-05-25 15:49:46 -0500 |
commit | b977fb9f54fd4d6ac21b0647b66397373b952e53 (patch) | |
tree | 9cb36a05ed505de6603e2e949f1527174f4d540e /sheldon/.config | |
parent | ffdfc3e364fb9306925a72d42274f02ad4d2a454 (diff) |
perf(sheldon): add compinit to zsh plugins
Diffstat (limited to 'sheldon/.config')
-rw-r--r-- | sheldon/.config/sheldon/plugins.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sheldon/.config/sheldon/plugins.toml b/sheldon/.config/sheldon/plugins.toml index 75b23e2..ebcba9d 100644 --- a/sheldon/.config/sheldon/plugins.toml +++ b/sheldon/.config/sheldon/plugins.toml @@ -25,9 +25,11 @@ apply = ["defer"] [plugins.zsh-completions] github = "zsh-users/zsh-completions" +apply = ["defer"] [plugins.zsh-pandoc-completion] github = "srijanshetty/zsh-pandoc-completion" +apply = ["defer"] [plugins.dotnet] remote = "https://raw.githubusercontent.com/dotnet/cli/master/scripts/register-completions.zsh" @@ -42,4 +44,5 @@ github = "zsh-users/zsh-autosuggestions" use = ["{{ name }}.zsh"] [plugins.compinit] -inline = 'autoload -Uz compinit && zsh-defer compinit' +inline = 'mkdir -p $XDG_CACHE_HOME/zsh && autoload -Uz compinit && zsh-defer compinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION' + |