From e58230ee257fc2724cb1c495fcaa7164cdc8ee87 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 14 Apr 2018 18:29:02 +0100 Subject: [PATCH] Add powerline-daemon to PATH, or where pip locally installs binaries, get local powerline prompt loaded by zsh on debian --- zsh/powerline-prompt.zsh | 4 ++-- zshrc.zsh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/powerline-prompt.zsh b/zsh/powerline-prompt.zsh index 0bc7bef..93b3fd6 100644 --- a/zsh/powerline-prompt.zsh +++ b/zsh/powerline-prompt.zsh @@ -6,5 +6,5 @@ test -e '/usr/local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline && source /usr/local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh test -e '/usr/lib/python3.6/site-packages/poewrline/bindings/zsh/powerline.zsh' \ && source /usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh -test -e '/usr/local/lib/python3.5/dist-packages/powerline_status-2.6.dev9999_git.b_a4a1c8353924959188d62c9edcf977cce3aa231f_-py3.5.egg/powerline/bindings/zsh/powerline.zsh' \ - && source /usr/local/lib/python3.5/dist-packages/powerline_status-2.6.dev9999_git.b_a4a1c8353924959188d62c9edcf977cce3aa231f_-py3.5.egg/powerline/bindings/zsh/powerline.zsh +test -e '/home/jonny/.local/lib/python3.5/site-packages/powerline/bindings/zsh/powerline.zsh' \ + && source /home/jonny/.local/lib/python3.5/site-packages/powerline/bindings/zsh/powerline.zsh diff --git a/zshrc.zsh b/zshrc.zsh index 86d2d77..cdaa050 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -24,7 +24,7 @@ export EDITOR='vim' export DEFAULT_USER="jonny" # Set the $PATH -export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" +export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/.local/bin" export MANPATH="/usr/local/man:$MANPATH" # Determine the running OS