feat: add optional loading of gcloud autocomplete

This commit is contained in:
max_richter 2021-01-21 12:39:57 +00:00
parent 37365ac963
commit dd5d566080

View File

@ -26,6 +26,7 @@ source $HOME/.dotfiles/configs/zsh/aliases.sh
## LOADING PROGRAMS ## LOADING PROGRAMS
export PATH="$PATH:$HOME/.yarn/bin" export PATH="$PATH:$HOME/.yarn/bin"
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/bin"
## GO STUFF ## GO STUFF
export GOROOT="/usr/local/bin/go" export GOROOT="/usr/local/bin/go"
@ -40,7 +41,6 @@ if [ -s "$HOME/.pyenv" ]; then
eval "$(pyenv init -)" eval "$(pyenv init -)"
fi fi
#Java version manager #Java version manager
export SDKMAN_DIR="$HOME/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
@ -54,3 +54,9 @@ export SDKMAN_DIR="$HOME/.sdkman"
# Node Version manager # Node Version manager
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/coder/downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/coder/downloads/google-cloud-sdk/completion.zsh.inc'; fi