remove unnecessary chruby initialization

main
Alpha Chen 2 years ago
parent 4022a456f6
commit e48bf2dab6
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -10,13 +10,6 @@ if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; t
source "${ZDOTDIR:-$HOME}/.zprofile"
fi
if command -v brew &> /dev/null; then
if [[ -s `brew --prefix`/share/chruby/chruby.sh ]]; then
source `brew --prefix`/share/chruby/chruby.sh
source `brew --prefix`/share/chruby/auto.sh
fi
fi
if command -v direnv &> /dev/null; then
eval "$(direnv hook zsh)"
fi

Loading…
Cancel
Save