From 300d9bf7d83eaccec7ac1e02b456345ae61ee6ea Mon Sep 17 00:00:00 2001 From: Anton Shubin <2spy4x@gmail.com> Date: Wed, 6 Oct 2021 19:39:37 +0300 Subject: [PATCH] fix(install.sh): configure $PATH and autocomplete for Google Cloud CLI --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 63e81e1..8be663e 100644 --- a/install.sh +++ b/install.sh @@ -9,6 +9,9 @@ echo '✅ Brew installation complete \n' echo '▶️ Installing Apps with Brew...' brew bundle +# Configure Google Cloud CLI $PATH and autocomplete +source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" +source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" echo '✅ Apps installation complete \n' echo '▶️ Installing Node.js via NVM...' @@ -31,4 +34,4 @@ echo 'cd ~/projects' >> ~/.zshrc # Set ~/projects as default dir to open in term source ~/.zshrc echo '✅ Configuration complete \n' -echo '🎉 If you see this message, then its all done 🎉 \n\n\n' \ No newline at end of file +echo '🎉 If you see this message, then its all done 🎉 \n\n\n'