bashrc & zshrc: use pyenv-installer instead of my alias.

This commit is contained in:
Mikaela Suomalainen 2014-04-29 15:47:53 +03:00
parent 0f301848ff
commit e9fc643d32
2 changed files with 4 additions and 2 deletions

3
bashrc
View File

@ -188,7 +188,8 @@ fi
# pyenv (Source: their README.md file http://git.io/ReCDSQ )
export PYENV_ROOT="$HOME/.pyenv"
alias pyenv-install="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
alias pyenv-install="curl https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash"
alias pyenv-install-alt="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$PYENV_ROOT/bin:$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/bin:$HOME/sbin:$HOME/games:$HOME/tmcbeans/bin:/opt/local/bin:/opt/local/sbin:/opt/local/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/bin:/sbin:/games:/usr/bin:/usr/sbin:/usr/games:$PATH

3
zshrc
View File

@ -131,7 +131,8 @@ fi
# pyenv (Source: their README.md file http://git.io/ReCDSQ )
export PYENV_ROOT="$HOME/.pyenv"
alias pyenv-install="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
alias pyenv-install="curl https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash"
alias pyenv-install-alt="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$PYENV_ROOT/bin:$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/bin:$HOME/sbin:$HOME/games:$HOME/tmcbeans/bin:/opt/local/bin:/opt/local/sbin:/opt/local/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/bin:/sbin:/games:/usr/bin:/usr/sbin:/usr/games:$PATH