pyenv stuff
This commit is contained in:
parent
1280d2360d
commit
f526d17524
@ -24,8 +24,11 @@ export PYTHONSTARTUP="${XDG_CONFIG_HOME:-$HOME/.config}/python/startup"
|
||||
# Custom Python history file
|
||||
export PYTHON_HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/python/history"
|
||||
|
||||
# Pyenv root:
|
||||
[ -x "$(command -v pyenv)" ] && export PYENV_ROOT="$HOME/.pyenv"
|
||||
|
||||
# PostgreSQL config file
|
||||
export PSQLRC="${XDG_CONFIG_HOME:-$HOME/.config}/psql/rc"
|
||||
[ -x "$(command -v psql)" ] && export PSQLRC="${XDG_CONFIG_HOME:-$HOME/.config}/psql/rc"
|
||||
|
||||
# Wget config file
|
||||
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/rc"
|
||||
|
@ -7,3 +7,9 @@ for file in ~/.config/shell/{path,exports,aliases,functions,extra}; do
|
||||
[ -r "$file" ] && [ -f "$file" ] && source "$file";
|
||||
done;
|
||||
unset file;
|
||||
|
||||
# Setup pyenv, if it is installed:
|
||||
if [ -x "$(command -v pyenv)" ]; then
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user