From 50b8ce7343b21449ad7f7a029d83edf9fe3addac Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 29 Oct 2011 16:52:37 +0300 Subject: [PATCH] bashrc: Tell bash_profile to source .bashrc. Mac OS X... SSH sessions... NOTE: bashrc must be sourced by hand at least once. --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index 9b90b812..17c7b21a 100644 --- a/bashrc +++ b/bashrc @@ -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.