Skip to content
Browse files

moving everything from bash_profile to bashrc so it has the same beha…

…vior in non-interative shells
  • Loading branch information...
1 parent acc66f3 commit ac7e0c55ce038cbeadd8da2f521eb034d09eb131 @ryanb committed Dec 6, 2010
Showing with 11 additions and 11 deletions.
  1. +1 −10 bash_profile
  2. +9 −0 bashrc
  3. +1 −1 zshrc
View
11 bash_profile
@@ -1,12 +1,3 @@
-source ~/.bash/aliases
-source ~/.bash/completions
-source ~/.bash/paths
-source ~/.bash/config
-
if [ -f ~/.bashrc ]; then
- . ~/.bashrc
-fi
-
-if [ -f ~/.localrc ]; then
- . ~/.localrc
+ source ~/.bashrc
fi
View
9 bashrc
@@ -0,0 +1,9 @@
+source ~/.bash/aliases
+source ~/.bash/completions
+source ~/.bash/paths
+source ~/.bash/config
+
+# use .localrc for settings specific to one system
+if [ -f ~/.localrc ]; then
+ source ~/.localrc
+fi
View
2 zshrc
@@ -3,4 +3,4 @@
. ~/.zsh/completion
# use .localrc for settings specific to one system
-[[ -f ~/.localrc ]] && . ~/.localrc
+[[ -f ~/.localrc ]] && . ~/.localrc

0 comments on commit ac7e0c5

Please sign in to comment.
Something went wrong with that request. Please try again.