From 2aa125a71f452d7758125596d2f172a1640f0fe7 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 27 Aug 2023 19:00:11 +0200 Subject: [PATCH] add shell-completion --- .zshrc_darwin | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.zshrc_darwin b/.zshrc_darwin index 9d6eb31..4e90083 100644 --- a/.zshrc_darwin +++ b/.zshrc_darwin @@ -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-autocomplete/zsh-autocomplete.plugin.zsh