bashrc & zshrc: configure for pyenv.

This commit is contained in:
Mikaela Suomalainen 2014-04-29 15:23:54 +03:00
parent 81c6b7934e
commit 0b4178a598
2 changed files with 16 additions and 2 deletions

9
bashrc
View File

@ -186,8 +186,15 @@ fi
# Sets your timezone. Set in format <Region/City>, or just timezone like UTC. # Sets your timezone. Set in format <Region/City>, or just timezone like UTC.
#export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT #export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT
# pyenv (Source: their README.md file http://git.io/ReCDSQ )
alias pyenv-install="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
export PYENV_ROOT="$HOME/.pyenv"
# Sets PATH. To add another path, add :</path/to/new/path> to string below. # Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$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 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
# Apply pyenv changes.
eval "$(pyenv init -)"
# "Changes" home directory without root. Uncomment both lines below this. # "Changes" home directory without root. Uncomment both lines below this.
#export HOME=<path to new home> #export HOME=<path to new home>

9
zshrc
View File

@ -129,8 +129,15 @@ fi
# Sets your timezone. Set in format <Region/City>, or just timezone like UTC. # Sets your timezone. Set in format <Region/City>, or just timezone like UTC.
# export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP # MKAYSIGREPENVIRONMENT # export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP # MKAYSIGREPENVIRONMENT
# pyenv (Source: their README.md file http://git.io/ReCDSQ )
alias pyenv-install="cd ~;git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT"
export PYENV_ROOT="$HOME/.pyenv"
# Sets PATH. To add another path, add :</path/to/new/path> to string below. # Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$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 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
# Apply pyenv changes.
eval "$(pyenv init -)"
# "Changes" home directory without root. Uncomment both lines below this. # "Changes" home directory without root. Uncomment both lines below this.
#export HOME=<path to new home> #export HOME=<path to new home>