add shell-completion

This commit is contained in:
Simon Rieger 2023-08-27 19:00:11 +02:00
parent 393f655fb8
commit 2aa125a71f

View file

@ -1,3 +1,11 @@
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
fi
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
#source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh #source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh