projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bec1c7f
)
replaced if statements with pathman
author
adithyasunil26
<adithyasunil26@gmail.com>
Wed, 20 Jan 2021 07:34:49 +0000
(11:34 +0400)
committer
AJ ONeal
<coolaj86@gmail.com>
Wed, 27 Jan 2021 23:33:53 +0000
(16:33 -0700)
pyenv/install.sh
patch
|
blob
|
history
diff --git
a/pyenv/install.sh
b/pyenv/install.sh
index c89a43ee772bd558ec2009d7b8c894d01aff3ac8..ffee0162cac7d56e0ea79d364944e83617319e72 100644
(file)
--- a/
pyenv/install.sh
+++ b/
pyenv/install.sh
@@
-2,13
+2,6
@@
{
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
{
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- if [ -n "`$SHELL -c 'echo $ZSH_VERSION'`" ]; then
- echo 'export PATH="$HOME/.pyenv/bin:$PATH"'>> ~/.zshrc
- echo 'eval "$(pyenv init -)"'>> ~/.zshrc
- echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc
- else
- echo 'export PATH="$HOME/.pyenv/bin:$PATH"'>> ~/.bashrc
- echo 'eval "$(pyenv init -)"'>> ~/.bashrc
- echo 'eval "$(pyenv virtualenv-init -)"'>> ~/.bashrc
- fi
+ pathman add ~/.pyenv
+ pathman add ~/.pyenv/shim
}
}