]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_profile
.bash_profile: Look for RSA ssh key rather than DSA key
[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 # keychain
9 keychain="$(type -P keychain)"
10 test -n "$keychain" && {
11 if [ -f ~/.ssh/id_rsa ]; then
12 eval `$keychain -q ~/.ssh/id_rsa`
13 source ~/.keychain/`hostname`-sh > /dev/null
14 fi
15 }
16 unset keychain