diff --git a/zsh/.zprofile b/zsh/.zprofile index fa94f34..0bb58b6 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,5 +1,6 @@ if [[ -f "/opt/homebrew/bin/brew" ]]; then eval "$(/opt/homebrew/bin/brew shellenv)" + FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}" fi ulimit -n 10240 export PATH="$PATH:/Users/jdormit/.local/bin" diff --git a/zsh/.zshenv b/zsh/.zshenv index 6b9fe4e..988db8a 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -23,6 +23,11 @@ fi export PIPENV_MAX_DEPTH=20 export PIPENV_VENV_IN_PROJECT=yes +if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then + source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" + source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" +fi + #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" diff --git a/zsh/.zshrc b/zsh/.zshrc index 5e8e3d8..cf16fc7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -172,3 +172,5 @@ setopt PROMPT_SUBST PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]") + +[[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify"