add pyenv stuff KEK

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2021-10-01 17:52:31 +08:00
parent f645e22f48
commit 2f49c4e644
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
1 changed files with 7 additions and 1 deletions

View File

@ -162,7 +162,7 @@ test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/bre
# Golang, probably we need to tweak this btw
export GOPATH="$HOME/gopath"
export PATh="$GOPATH:$PATH"
export PATH="$GOPATH:$PATH"
# Use native builds when doing 'docker build' instead of 'docker buildx build'
export DOCKER_BUILDKIT=1
@ -172,3 +172,9 @@ export DOCKER_BUILDKIT=1
# direnv
[ "$(which direnv)" != "" ] && eval "$(direnv hook bash)"
# Pyenv
export PYENV_ROOT="$HOME/.pyenv"
[ -d "$PYENV_ROOT" ] && export PATH="$PYENV_ROOT/bin:$PATH" \
&& eval "$(pyenv init -)" \
&& eval "$(pyenv init --path)"