]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_profile
.bashrc: Use __git_ps1() in $PS1
[dotfiles.git] / .bash_profile
1 # ~/.bash_profile: executed by bash(1) for login shells.
2
3 umask 022
4 if [ -f ~/.bashrc ]; then
5 source ~/.bashrc
6 fi
7
8 # Change ANSI colors to Solarized-style colors
9 if [ "$UNAME" = "Cygwin" ]; then
10 if [ -f ~/.term_colorpalette ]; then
11 source ~/.term_colorpalette
12 fi
13 fi
14
15 # keychain
16 keychain="$(type -P keychain)"
17 test -n "$keychain" && {
18 if [ -f ~/.ssh/id_rsa ]; then
19 eval `$keychain -q ~/.ssh/id_rsa`
20 source ~/.keychain/`hostname`-sh > /dev/null
21 fi
22 }
23 unset keychain
24
25 # Load RVM function
26 [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"