forked from expectedbehavior/common-files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
23 lines (18 loc) · 866 Bytes
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 2002/11/18 19:39:22 azarah Exp $
#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc
for k in /usr/bin/keychain /opt/local/bin/keychain /usr/local/bin/keychain; do
if [ -f $k ]; then
for i in ~/.ssh/*; do
[ -f $i ] && [ -f $i.pub ] && $k --nogui --inherit any $i
done
# [ -f ~/.ssh/id_dsa ] && /usr/bin/keychain --nogui ~/.ssh/id_dsa
# [ -f ~/.ssh/id_rsa ] && /usr/bin/keychain --nogui ~/.ssh/id_rsa
fi
done
[ -f ~/.keychain/$HOSTNAME-sh ] && source ~/.keychain/$HOSTNAME-sh > /dev/null
cf_date_check_notify
cf_check_for_updates
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi
if [[ -d "$HOME/.rbenv" ]] ; then eval "$(rbenv init -)"; fi