Skip to content

Commit 2c75277

Browse files
committed
Add pyenv to .bashrc
1 parent 45c71c0 commit 2c75277

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bashrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,8 @@ function certg() {
125125
printf "openssl s_client -showcerts -servername $1 -connect ${1}:443 </dev/null"
126126
openssl s_client -showcerts -servername $1 -connect ${1}:443 </dev/null
127127
}
128+
129+
export PYENV_ROOT="$HOME/.pyenv"
130+
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
131+
eval "$(pyenv init -)"
132+
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi

0 commit comments

Comments
 (0)