summaryrefslogtreecommitdiffhomepage
path: root/dist-assets/pkg-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'dist-assets/pkg-scripts')
-rwxr-xr-xdist-assets/pkg-scripts/postinstall6
1 files changed, 1 insertions, 5 deletions
diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall
index 2c067efab1..6f6f6f9904 100755
--- a/dist-assets/pkg-scripts/postinstall
+++ b/dist-assets/pkg-scripts/postinstall
@@ -62,11 +62,7 @@ DAEMON_PLIST=$(cat <<-EOM
EOM
)
-if [[ -d "/opt/homebrew/share/zsh/site-functions/" ]]; then
- ZSH_COMPLETIONS_DIR="/opt/homebrew/share/zsh/site-functions/"
-else
- ZSH_COMPLETIONS_DIR="/usr/local/share/zsh/site-functions/"
-fi
+ZSH_COMPLETIONS_DIR="/usr/local/share/zsh/site-functions/"
if [[ -d "/opt/homebrew/share/fish/vendor_completions.d/" ]]; then
FISH_COMPLETIONS_DIR="/opt/homebrew/share/fish/vendor_completions.d/"