mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-19 15:55:17 +00:00
chore(zsh): Update zsh completion locations
This commit is contained in:
@@ -6,7 +6,7 @@ colors
|
|||||||
setopt correct
|
setopt correct
|
||||||
|
|
||||||
# Add completion scripts to zsh path
|
# Add completion scripts to zsh path
|
||||||
fpath=(~/.config/zsh/completion $fpath)
|
FPATH="~/.config/zsh/completion:$FPATH"
|
||||||
autoload -Uz compinit && compinit -i
|
autoload -Uz compinit && compinit -i
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
@@ -50,3 +50,10 @@ have starship && eval "$(starship init zsh)"
|
|||||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] \
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] \
|
||||||
&& source "${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