mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-31 18:47:11 +00:00
chore(zsh): Update zsh completion locations
This commit is contained in:
@@ -6,7 +6,7 @@ colors
|
||||
setopt correct
|
||||
|
||||
# Add completion scripts to zsh path
|
||||
fpath=(~/.config/zsh/completion $fpath)
|
||||
FPATH="~/.config/zsh/completion:$FPATH"
|
||||
autoload -Uz compinit && compinit -i
|
||||
|
||||
# Defaults
|
||||
@@ -50,3 +50,10 @@ have starship && eval "$(starship init zsh)"
|
||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] \
|
||||
&& source "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh
|
||||
|
||||
if type brew &>/dev/null
|
||||
then
|
||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user