From: Alexander Barton Date: Sat, 10 May 2014 15:47:24 +0000 (+0200) Subject: sys/bashrc: Search for /etc/profile in ~/.etc/profile, too X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac810d415b71379d23d1e13c07f23ed146ee726;p=ConfigScripts.git sys/bashrc: Search for /etc/profile in ~/.etc/profile, too --- diff --git a/sys/bashrc b/sys/bashrc index 33fd599..efb445f 100644 --- a/sys/bashrc +++ b/sys/bashrc @@ -8,6 +8,7 @@ BASHRCREAD="true" [ -z "$PROFILEREAD" -a -r /etc/profile ] && source /etc/profile +[ -z "$PROFILEREAD" -a -r ~/.etc/profile ] && source ~/.etc/profile # Interactive shell? [ "$PS1" ] || return