Skip to content

Commit a8c85c9

Browse files
committed
fix(go): Update completion directory paths for Zsh and Fish
1 parent 882dc64 commit a8c85c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/go/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ echo "${GO_TOOLS}" | xargs -n 1 go install
277277

278278
# Completion directories
279279
_BASH_COMPLETION_DIR="/etc/bash_completion.d"
280-
_ZSH_COMPLETION_DIR="$HOME/.oh-my-zsh/custom/completions"
281-
_FISH_COMPLETION_DIR="$HOME/.config/fish/completions"
280+
_ZSH_COMPLETION_DIR="/usr/share/zsh/site-functions"
281+
_FISH_COMPLETION_DIR="/usr/share/fish/vendor_completions.d"
282282

283283
if [ "$INSTALL_COBRA_CLI" = "true" ]; then
284284
echo_msg "Installing cobra-cli completion scripts..."

0 commit comments

Comments
 (0)