aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.before
diff options
context:
space:
mode:
authorDavid Runge <david.runge@native-instruments.de>2018-04-17 18:08:11 +0200
committerDavid Runge <david.runge@native-instruments.de>2018-04-17 18:08:11 +0200
commit495cc1d5d180de906219e0373a351d1996176bf2 (patch)
tree869ef1c72ce4d18b7012b7e18b78ab241cda0ecd /.zsh.before
parentbd75ccc4f85528f7c663a12c0ee58593d1c9de5e (diff)
downloaddotfiles-495cc1d5d180de906219e0373a351d1996176bf2.tar.gz
dotfiles-495cc1d5d180de906219e0373a351d1996176bf2.tar.bz2
dotfiles-495cc1d5d180de906219e0373a351d1996176bf2.tar.xz
dotfiles-495cc1d5d180de906219e0373a351d1996176bf2.zip
.zsh.before/path.zsh: Adding .pyenv/shims to PATH, if available.
Diffstat (limited to '.zsh.before')
-rw-r--r--.zsh.before/path.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh
index 71a75de..52238b3 100644
--- a/.zsh.before/path.zsh
+++ b/.zsh.before/path.zsh
@@ -1,5 +1,8 @@
# Prepend $HOME/bin and append /usr/sbin to PATH (for Debilian)
PATH="$HOME/bin:$PATH:/usr/sbin"
+if [[ -d "$HOME/.pyenv/shims" ]]; then
+ PATH="$HOME/.pyenv/shims:$PATH"
+fi
## RASPBERRY PI
if [[ "$HOST" == *pitheunlord* ]]; then