]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_profile
.screenrc: Don't run 'screen -ls' backtick
[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 # Set mintty color-palette
9 if [ "$UNAME" = "Cygwin" ]; then
10 source ~/.mintty/colors/solarized-ansi.sh
11 fi
12
13 # keychain
14 keychain=$(type -P keychain)
15 test -n "$keychain" && {
16 if [ -f ~/.ssh/id_rsa ]; then
17 eval `$keychain -q ~/.ssh/id_rsa`
18 source ~/.keychain/`hostname`-sh > /dev/null
19 fi
20 }
21 unset keychain
22
23 # kerberos
24 kinit="$(type -P kinit)"
25 test -n "$kinit" && {
26 KRB5_CONFIG="$HOME/.krb5.conf"
27 export KRB5_CONFIG
28 }
29 unset kinit
30
31 # rbenv
32 rbenv=$(type -P rbenv)
33 test -n "$rbenv" && eval "$(rbenv init -)"
34 unset rbenv