summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 15:51:51 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 15:51:51 +0200
commit7e4bf041099805fa26130660b53a9d8b7e86fc8c (patch)
tree813bb5dd153d63a7ead0d6d8880ddda57afdc425 /.config/shell/profile
parentd7ef262751c320a8f58b19ac783de981b637a773 (diff)
Add new env for jupyter, pyenv, and ipython
Diffstat (limited to '.config/shell/profile')
-rwxr-xr-x.config/shell/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 3f3098b..53001b1 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -29,7 +29,7 @@ export LESSHIST="-"
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
# pyenv
-export PYENV_ROOT="$HOME/.pyenv"
+export PYENV_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"