mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc: configure for pyenv.
This commit is contained in:
parent
81c6b7934e
commit
0b4178a598
9
bashrc
9
bashrc
@ -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
9
zshrc
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user