refactor: better completions for pyenv

This commit is contained in:
Price Hiller 2022-06-17 12:51:02 -05:00
parent a830e2a22d
commit 62eddef8be
2 changed files with 4 additions and 6 deletions

View File

@ -13,6 +13,10 @@ source ~/.zstyle
export PATH="$HOME/.bin:$PATH"
export PATH="$PATH:/opt/homebrew/Cellar/llvm/13.0.0_2/bin"
# Python with pyenv
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
# Mac pathing beneath
if [[ "$OSTYPE" = "darwin"* ]]; then
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
@ -23,10 +27,6 @@ if [[ "$OSTYPE" = "darwin"* ]]; then
complete -o nospace -C /opt/homebrew/bin/terraform terraform
# Python with pyenv
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
# LLDB
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
fi

2
.zshrc
View File

@ -132,5 +132,3 @@ fi
source ~/.profile
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /opt/homebrew/bin/terraform terraform