Load ~/.shrc if using SSH
This commit is contained in:
parent
e77244cedc
commit
bb5d57a034
1 changed files with 4 additions and 0 deletions
|
@ -14,3 +14,7 @@ export PAGER="less"
|
||||||
if [ -r $HOME/.profile.$(hostname -s) ]; then
|
if [ -r $HOME/.profile.$(hostname -s) ]; then
|
||||||
. $HOME/.profile.$(hostname -s)
|
. $HOME/.profile.$(hostname -s)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$SSH_TTY" ]; then
|
||||||
|
. $HOME/.shrc
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue