bashrc: Tell bash_profile to source .bashrc. Mac OS X... SSH sessions...

NOTE: bashrc must be sourced by hand at least once.
This commit is contained in:
Mika Suomalainen 2011-10-29 16:52:37 +03:00
parent 83bf25982b
commit 50b8ce7343
1 changed files with 5 additions and 0 deletions

5
bashrc
View File

@ -7,6 +7,11 @@
# Functions ZGC5QQ
# Tmux (example) 4G2W9C
# For Mac OS X + SSH sessions. bashrc must be sourced by hand at least once.
echo "if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi" >> ~/.bash_profile
##### Defaults etc... M0TZLS #####
# ~/.bashrc: executed by bash(1) for non-login shells.