Made the plugin load asyncronously

This commit is contained in:
2024-08-14 09:51:38 +02:00
parent c863538da9
commit 47d150e757
3 changed files with 11 additions and 5 deletions

View File

@ -6,15 +6,15 @@ ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
source "${ZINIT_HOME}/zinit.zsh"
# Syntax highlighting
zinit ice depth=1; zinit light "zsh-users/zsh-syntax-highlighting"
zinit ice wait lucid depth=1; zinit light "zsh-users/zsh-syntax-highlighting"
# Command completions
zinit ice depth=1; zinit light "zsh-users/zsh-completions"
zinit ice wait lucid depth=1; zinit light "zsh-users/zsh-completions"
# History autosuggestions
zinit ice depth=1; zinit light "zsh-users/zsh-autosuggestions"
zinit ice wait lucid depth=1; zinit light "zsh-users/zsh-autosuggestions"
# Use fzf for completion
zinit ice depth=1; zinit light "Aloxaf/fzf-tab"
zinit ice wait lucid depth=1; zinit light "Aloxaf/fzf-tab"
zstyle ":fzf-tab:complete:cd:*" fzf-preview "ls --color $realpath"
zstyle ":completion:*" menu no