diff --git a/dot_sshrc.tmpl b/dot_sshrc.tmpl index 40e2648..e3a284b 100644 --- a/dot_sshrc.tmpl +++ b/dot_sshrc.tmpl @@ -1,10 +1,10 @@ # # sshrc will be called byaliased ssh command 's'. # -if [ -f $HOME/.profile ]; then +if [ -f $HOME/.profile ] && [ "$SOURCE_PROFILE" = "true" ]; then source $HOME/.profile fi -if [ -f $HOME/.bashrc ]; then +if [ -f $HOME/.bashrc ] && [ "$SOURCE_BASHRC" = "true" ]; then source $HOME/.bashrc fi