From 13eeb245e39a2783e3fddf01bf19098da4a15e61 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Fri, 20 Sep 2024 17:25:01 -0700 Subject: [PATCH] Adds zsh completions script untouched. --- .rc.d/zsh-completions.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .rc.d/zsh-completions.sh 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