From ebc1695f4cdccc1813d94177216140265e81ca2b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 13 Mar 2022 05:32:01 +0000 Subject: Source system profile --- profile/profile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'profile') diff --git a/profile/profile b/profile/profile index 7a86c76..121615f 100644 --- a/profile/profile +++ b/profile/profile @@ -1,6 +1,9 @@ # ~/.profile -*- sh -*- # vim: ft=sh +# Source system profile +source /etc/profile + # XDG directories export XDG_CONFIG_HOME="$HOME/etc" export XDG_CACHE_HOME="$HOME/var/cache" @@ -11,7 +14,7 @@ export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}" # source files in $XDG_CONFIG_HOME/profile if [ -d "$XDG_CONFIG_HOME/profile" ]; then - for file in "$XDG_CONFIG_HOME"/profile/*.sh; do - [ -r "$file" ] && . "$file" - done + for file in "$XDG_CONFIG_HOME"/profile/*.sh; do + [ -r "$file" ] && . "$file" + done fi -- cgit 1.4.1-21-gabe81