From 400081ba9d59a688357a2ab0ab7f93b5c6f4c621 Mon Sep 17 00:00:00 2001 From: Philip Henning Date: Sat, 1 Jun 2019 13:46:44 +0200 Subject: [PATCH] Add .local/bin and .bin to zshenv; remove .bin PATH from zshrc --- dotfiles/zshenv | 14 ++++++++++++++ dotfiles/zshrc | 6 ------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/dotfiles/zshenv b/dotfiles/zshenv index 18ca047..6c8272b 100644 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -1,4 +1,18 @@ +# +# {{@@ env['dotdrop_warning'] @@}} +# + + # Fix for JetBrains with non-re-parenting window managers export _JAVA_AWT_WM_NONREPARENTING=1 # Disable Ansible cowsay export ANSIBLE_NOCOWS=1 +# Include ~/.bin to PATH +if [ -d "$HOME/.bin" ] ; then + export PATH="$HOME/.bin:$PATH" +fi +# Includ ~/.local/bin to PATH +if [ -d "$HOME/.local/bin" ] ; then + export PATH="$HOME/.local/bin:$PATH" +fi + diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 3299584..e5a50e8 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -89,12 +89,6 @@ plugins=( source $ZSH/oh-my-zsh.sh # User configuration - -if [ -d "$HOME/.bin" ] ; then - PATH="$HOME/.bin:$PATH" -fi - - # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment