From bb5d57a03454fa4c51aa54a122ca2f16550027b0 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 9 Feb 2021 16:27:08 +0000 Subject: [PATCH] Load ~/.shrc if using SSH --- roles/home-cli/files/profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index fbd4080..ebaf7b4 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -14,3 +14,7 @@ export PAGER="less" if [ -r $HOME/.profile.$(hostname -s) ]; then . $HOME/.profile.$(hostname -s) fi + +if [ -n "$SSH_TTY" ]; then + . $HOME/.shrc +fi