]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_profile
Kerberos handling for EPIC.COM
[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 # kerberos
26 kinit="$(type -P kinit)"
27 test -n "$kinit" && {
28 KRB5_CONFIG="$HOME/.krb5.conf"
29 export KRB5_CONFIG
30 }
31 unset kinit
32
33 # Load RVM function
34 [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"