diff options
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,7 +10,7 @@ for profile in "$HOME"/.profile.d/*.sh ; do done unset -v profile -# If the shell is interactive, and ~/.shrc exists, source that too -case $- in - *i*) [ -f "$HOME"/.shrc ] && . "$HOME"/.shrc ;; -esac +# If ~/.shrc exists, source that too; the test for interactivity is in there +if [ -f "$HOME"/.shrc ] ; then + source "$HOME"/.shrc +fi |