Add homebrew completions, gcloud path/completions and spotify .rc to zsh

This commit is contained in:
Jeremy Dormitzer 2022-03-29 16:12:05 -04:00
parent 1ca13b5ab8
commit 8ce5fbf98d
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
if [[ -f "/opt/homebrew/bin/brew" ]]; then if [[ -f "/opt/homebrew/bin/brew" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
fi fi
ulimit -n 10240 ulimit -n 10240
export PATH="$PATH:/Users/jdormit/.local/bin" export PATH="$PATH:/Users/jdormit/.local/bin"

View File

@ -23,6 +23,11 @@ fi
export PIPENV_MAX_DEPTH=20 export PIPENV_MAX_DEPTH=20
export PIPENV_VENV_IN_PROJECT=yes 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!!! #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
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"

View File

@ -172,3 +172,5 @@ setopt PROMPT_SUBST
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]") path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]")
[[ -f "$HOME/.zshrc-spotify" ]] && source "$HOME/.zshrc-spotify"