fix(install.sh): configure $PATH and autocomplete for Google Cloud CLI

This commit is contained in:
Anton Shubin 2021-10-06 19:39:37 +03:00 committed by GitHub
parent df3b259b30
commit 300d9bf7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,9 @@ echo '✅ Brew installation complete \n'
echo '▶️ Installing Apps with Brew...' echo '▶️ Installing Apps with Brew...'
brew bundle 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 '✅ Apps installation complete \n'
echo '▶️ Installing Node.js via NVM...' 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 source ~/.zshrc
echo '✅ Configuration complete \n' echo '✅ Configuration complete \n'
echo '🎉 If you see this message, then its all done 🎉 \n\n\n' echo '🎉 If you see this message, then its all done 🎉 \n\n\n'