Improve loading of fzf completions

This commit is contained in:
Jonny Barnes 2024-07-07 14:29:58 +01:00
parent 95153292ea
commit a2bf3fc412
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
3 changed files with 10 additions and 14 deletions

View file

@ -43,6 +43,15 @@ local = "~/.zsh/plugins"
local = "~/.zsh/plugins"
apply = ["defer"]
[plugins.fzf]
github = "junegunn/fzf"
use = ["shell/completion.zsh", "shell/key-bindings.zsh"]
apply = ["defer"]
[plugins.fzf-completions]
local = "~/.zsh/plugins"
apply = ["defer"]
[plugins.zsh-syntax-highlighting]
github = "zsh-users/zsh-syntax-highlighting"
apply = ["defer"]
@ -81,11 +90,6 @@ apply = ["defer"]
local = "~/.zsh/plugins"
apply = ["defer"]
[plugins.fzf]
local = "~/.zsh/plugins"
apply = ["defer"]
hooks.pre = "export FZF_COMPLETION_TRIGGER='~~'"
# This works best if it is placed last.
[plugins.compinit]
local = "~/.zsh/plugins"