From fa1dfa212540584bbf2cf07e132129bcd4f09843 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 4 Mar 2018 17:44:34 -0500 Subject: my local bin directories should take precedence --- bashrc | 8 ++++---- zshrc | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bashrc b/bashrc index afc77ba..f4caa0b 100644 --- a/bashrc +++ b/bashrc @@ -1,13 +1,13 @@ -# environment {{{ -export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/local:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" -[ -f "$HOME/.sh/env" ] && source $HOME/.sh/env -# }}} # language environments {{{ test -f $HOME/perl5/perlbrew/etc/bashrc && source $HOME/perl5/perlbrew/etc/bashrc test -f $HOME/python/bin/activate && source $HOME/python/bin/activate type rbenv > /dev/null 2>&1 && eval "$(rbenv init -)" test -d $HOME/.cargo/bin && export PATH="$HOME/.cargo/bin:$PATH" # }}} +# environment {{{ +export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/local:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" +[ -f "$HOME/.sh/env" ] && source $HOME/.sh/env +# }}} # Test for an interactive shell. {{{ # There is no need to set anything past this point for scp and rcp, and it's # important to refrain from outputting anything in those cases. diff --git a/zshrc b/zshrc index 1e9d84e..99ca293 100644 --- a/zshrc +++ b/zshrc @@ -1,15 +1,15 @@ -# environment {{{ -# not using .zshenv, because it runs before /etc/profile, and /etc/profile -# tends to hard-set $PATH and such -export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/local:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" -[ -f "$HOME/.sh/env" ] && source $HOME/.sh/env -# }}} # language environments {{{ test -f $HOME/perl5/perlbrew/etc/bashrc && source $HOME/perl5/perlbrew/etc/bashrc test -f $HOME/python/bin/activate && source $HOME/python/bin/activate type rbenv > /dev/null 2>&1 && eval "$(rbenv init -)" test -d $HOME/.cargo/bin && export PATH="$HOME/.cargo/bin:$PATH" # }}} +# environment {{{ +# not using .zshenv, because it runs before /etc/profile, and /etc/profile +# tends to hard-set $PATH and such +export PATH="/usr/share/git/diff-highlight:${HOME}/.bin/local:${HOME}/.bin:/usr/lib/ccache/bin:$PATH" +[ -f "$HOME/.sh/env" ] && source $HOME/.sh/env +# }}} # Change the window title of X terminals {{{ function term_title_precmd () { echo -ne "\033]0;${USER}@${HOST}:${PWD/$HOME/~}\007" -- cgit v1.2.3-54-g00ecf