diff --git a/zsh/.zshrc b/zsh/.zshrc index 0372be2..ad75547 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -3,6 +3,11 @@ typeset -U path path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path) +# zsh-completions homebrew package +if type brew &>/dev/null; then + FPATH=$(brew --prefix)/share/zsh-completions:$FPATH +fi + # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -119,12 +124,6 @@ if type gman &>/dev/null; then alias man="gman" fi -# zsh-completions homebrew package -if type brew &>/dev/null; then - FPATH=$(brew --prefix)/share/zsh-completions:$FPATH - autoload -Uz compinit - compinit -fi # kubectl completion [[ $commands[kubectl] ]] && source <(kubectl completion zsh)