From cf5a6586552e624b163fd4c4935612ed55e35561 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 8 Jan 2015 13:14:54 +0100 Subject: [PATCH] Add support for ~/.profile.user-1st file --- sys/profile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/profile b/sys/profile index 207bf5b..acd3fa6 100644 --- a/sys/profile +++ b/sys/profile @@ -1,7 +1,7 @@ # # /etc/profile: system-wide profile for the Bourne shell (sh(1)) and # Bourne compatible shells (bash(1), ksh(1), ash(1), ...). -# Written 2003-2014 by Alexander Barton (alex@barton.de) +# Written 2003-2015 by Alexander Barton (alex@barton.de) # [ -e ~/.ConfigScripts.debug ] && echo " .. /etc/profile ..." @@ -11,6 +11,9 @@ export PROFILEREAD [ -e ~/.ConfigScripts.debug ] && echo " >> /etc/profile ..." +# Source "~/.profile.user-1st", when available +[ -r ~/.profile.user-1st ] && . ~/.profile.user-1st + # Setup locale and encoding if [ -e ~/.ConfigScripts.debug ]; then echo " - TERM=\"$TERM\"" -- 2.39.2