aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2024-05-21 15:00:20 -0600
committerjason2024-05-21 15:00:25 -0600
commite085dc6efc3411747307bf247f0184c9ee694754 (patch)
treec01c14130dcef2cbf107d68248691eb45202fd54 /bash
parentfb1d46efc650099bdc9536991ec905405d791fef (diff)
downloaddotfiles-e085dc6efc3411747307bf247f0184c9ee694754.tar.gz
dotfiles-e085dc6efc3411747307bf247f0184c9ee694754.zip
update pyenv for it's README's install directions
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc14
1 files changed, 10 insertions, 4 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 4c3a902..b349dae 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -158,10 +158,16 @@ if [ -x /opt/homebrew/bin/brew ]; then
158 fi 158 fi
159fi 159fi
160 160
161if [[ -x /usr/local/bin/pyenv || -x $HOME/bin/pyenv ]]; then 161#if [[ -x /usr/local/bin/pyenv || -x $HOME/bin/pyenv ]]; then
162 # FreeBSD, probably linux 162# # FreeBSD, probably linux
163 eval "$(pyenv init -)" 163# eval "$(pyenv init -)"
164fi 164#fi
165
166# Default install instructions
167if [[ -x $HOME/.pyenv/bin ]]; then
168 eval "$($HOME/.pyenv/bin/pyenv init -)"
169 export PATH=$HOME/.pyenv/bin:$PATH
170fi
165 171
166__workon() { 172__workon() {
167 source ~/.virtualenvs/$1/bin/activate 173 source ~/.virtualenvs/$1/bin/activate