aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-12-21 12:52:36 +0100
committerDavid Runge <dave@sleepmap.de>2021-12-21 12:52:36 +0100
commit2560c2f3eda0205be3670cbe89602d641cd065c2 (patch)
tree3a9bdc63516acbaf329d5d5d236ee7e3561bc140
parentf8613584453e439fdaecb8611dcc7122ca312cc2 (diff)
downloaddotfiles-2560c2f3eda0205be3670cbe89602d641cd065c2.tar.gz
dotfiles-2560c2f3eda0205be3670cbe89602d641cd065c2.tar.bz2
dotfiles-2560c2f3eda0205be3670cbe89602d641cd065c2.tar.xz
dotfiles-2560c2f3eda0205be3670cbe89602d641cd065c2.zip
zsh: Add pyenv shims dir to PATH
.config/zsh/includes/path.zsh: If pyenv shim dir exists, add it to PATH.
-rw-r--r--.config/zsh/includes/path.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/includes/path.zsh b/.config/zsh/includes/path.zsh
index 21e36e6..272feac 100644
--- a/.config/zsh/includes/path.zsh
+++ b/.config/zsh/includes/path.zsh
@@ -2,7 +2,7 @@
[ -d "${HOME}/.cargo/bin" ] && PATH="${HOME}/.cargo/bin:${PATH}"
# pyenv
[ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}"
-[ -d "${HOME}/.pyenv/shims" ] && PATH="${HOME}/.pyenv/shims:${PATH}"
+[ -d "${HOME}/.local/share/pyenv/shims" ] && PATH="${HOME}/.local/share/pyenv/shims:${PATH}"
# RPi
[ -d "/opt/vc/bin" ] && PATH="${PATH}:/opt/vc/bin"
[ -d "/opt/vc/sbin" ] && PATH="${PATH}:/opt/vc/sbin"