diff --git a/.rc.d/zsh-completions.sh b/.rc.d/zsh-completions.sh new file mode 100644 index 0000000..37f57f1 --- /dev/null +++ b/.rc.d/zsh-completions.sh @@ -0,0 +1,10 @@ +if type brew &>/dev/null; then + fpath=( $(brew --prefix)/share/zsh-completions "${fpath[@]}" ) +fi + +# If you receive "zsh compinit: insecure directories" warnings when attempting +# to load these completions, you may need to run these commands: +# chmod go-w '/opt/homebrew/share' +# chmod -R go-w '/opt/homebrew/share/zsh' + +# compinit will load and run after this in .zshrc