profile: Make sure envs are set on login
This commit is contained in:
parent
0ca7c07080
commit
7eebd1793e
1 changed files with 11 additions and 0 deletions
11
.profile
Normal file
11
.profile
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
ENVIRONMENTD="$HOME/.config/environment.d"
|
||||
set -a
|
||||
if [ -d "$ENVIRONMENTD" ]; then
|
||||
for conf in $(/usr/bin/ls "$ENVIRONMENTD"/*.conf)
|
||||
do
|
||||
. "$conf"
|
||||
done
|
||||
fi
|
||||
set +a
|
||||
|
Loading…
Add table
Reference in a new issue