]> arthur.barton.de Git - ConfigScripts.git/commitdiff
sys/bashrc: Search for /etc/profile in ~/.etc/profile, too
authorAlexander Barton <alex@barton.de>
Sat, 10 May 2014 15:47:24 +0000 (17:47 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 10 May 2014 15:47:24 +0000 (17:47 +0200)
sys/bashrc

index 33fd599ef2e05ff113d2db89e74b300fb46c9754..efb445fbdcb05877f398479b3b12986bc1ce4726 100644 (file)
@@ -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