## Plugins configuration

# Automatic suggestions
. "${HOME}/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"

# Completions
fpath=("${HOME}/.zsh/plugins/zsh-completions/src" "${fpath[@]}")
autoload -U compinit promptinit
compinit
promptinit
[[ -f /etc/gentoo-release ]] && prompt gentoo

# Enable cache for completions
zstyle ":completion::complete:*" use-cache 1

# Syntax highlighting in zsh prompt
. "${HOME}/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
