]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_profile
.hg: Initial commit for .hgrc and .mercurial/*
[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 # rbenv
24 rbenv=$(type -P rbenv)
25 test -n "$rbenv" && eval "$(rbenv init -)"
26 unset rbenv