Skip to content

Commit

Permalink
Add bash_private for work stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgelesica-wf committed Nov 10, 2015
1 parent 5ee9fb2 commit 7706a93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.swp
*~
bash_private
5 changes: 5 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

ARCH=$(uname)

# Load private config if found.
if [ -f "$HOME/.bash_private" ]; then
. "$HOME/.bash_private"
fi

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

Expand Down
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ echo 'Linking .bash_profile'
mv ~/.bash_profile ~/.bash_profile.bak
ln -s $DIR/bash_profile ~/.bash_profile

echo 'Linking .bash_private'
if [ -f $DIR/bash_private ]; then
mv ~/.bash_private ~/.bash_private.bak
ln -s $DIR/bash_private ~/.bash_private
fi

echo 'Installing git helpers'
mv ~/.git-prompt.sh ~/.git-prompt.sh.bak
wget -O ~/.git-prompt.sh https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh
Expand Down

0 comments on commit 7706a93

Please sign in to comment.