From b924e14f58c5261e1d60e18f86a470ee909ee6c1 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Wed, 19 Mar 2014 10:52:40 -0700 Subject: [PATCH] better profile, local path should override system --- bash-files/bash_profile | 2 +- bash-files/bashrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash-files/bash_profile b/bash-files/bash_profile index c5aef31..2f98d77 100644 --- a/bash-files/bash_profile +++ b/bash-files/bash_profile @@ -1,3 +1,3 @@ -if [ -f ~/.bashrc ]; then +if [ -L ~/.bashrc ] || [ -f ~/.bashrc ]; then source ~/.bashrc; fi diff --git a/bash-files/bashrc b/bash-files/bashrc index 3dfec06..12bda53 100644 --- a/bash-files/bashrc +++ b/bash-files/bashrc @@ -83,7 +83,7 @@ alias h=history alias kp="ps auxwww" # general path munging -PATH=${PATH}:~/bin +PATH=~/local/bin:${PATH} PATH=${PATH}:/usr/local/bin if [ -f /opt/local/etc/bash_completion.d/git ]; then