From bc85de1ad59aa85d630d34d782d45345ce6e3f9c Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 13 Apr 2022 14:21:07 -0400 Subject: [PATCH] Add zsh-completions homebrew package --- zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index e115f7c..5259ea9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -113,6 +113,12 @@ alias kns="kubens" alias kctx="kubectx" alias tf="terraform" +# zsh-completions homebrew package +if type brew &>/dev/null; then + FPATH=$(brew --prefix)/share/zsh-completions:$FPATH + autoload -Uz compinit + compinit +fi # VTerm integration # Some of the most useful features in emacs-libvterm require shell-side