From 495cc1d5d180de906219e0373a351d1996176bf2 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 17 Apr 2018 18:08:11 +0200 Subject: .zsh.before/path.zsh: Adding .pyenv/shims to PATH, if available. --- .zsh.before/path.zsh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-70-g09d2