Improve zsh performance

This commit is contained in:
Jonny Barnes 2026-06-26 14:47:32 +01:00
commit f5b8624814
No known key found for this signature in database
2 changed files with 54 additions and 104 deletions

View file

@ -51,16 +51,15 @@ github = "junegunn/fzf"
use = ["shell/completion.zsh", "shell/key-bindings.zsh"]
apply = ["defer"]
[plugins.fzf-tab]
github = "Aloxaf/fzf-tab"
apply = ["defer"]
[plugins.fzf-completions]
# compinit must run before fzf-tab and before any plugin that calls `compdef`
# (fnm, zoxide). ZLE-wrapping plugins (autosuggestions, syntax-highlighting)
# must be sourced after fzf-tab.
[plugins.compinit]
local = "~/.zsh/plugins"
apply = ["defer"]
[plugins.zsh-substring-search]
github = "zsh-users/zsh-history-substring-search"
[plugins.fzf-tab]
github = "Aloxaf/fzf-tab"
apply = ["defer"]
[plugins.zsh-autosuggestions]
@ -98,11 +97,6 @@ apply = ["defer"]
github = "zsh-users/zsh-syntax-highlighting"
apply = ["defer"]
# This works best if it is placed last.
[plugins.compinit]
local = "~/.zsh/plugins"
apply = ["defer"]
# Loading indicator
# -----------------