Skip to content

Commit

Permalink
moving everything from bash_profile to bashrc so it has the same beha…
Browse files Browse the repository at this point in the history
…vior in non-interative shells
  • Loading branch information
ryanb committed Dec 7, 2010
1 parent acc66f3 commit ac7e0c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
11 changes: 1 addition & 10 deletions 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
9 changes: 9 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion zshrc
Expand Up @@ -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.