profile: Make sure envs are set on login

This commit is contained in:
histalek 2022-01-16 23:02:21 +01:00
parent 0ca7c07080
commit 7eebd1793e
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

11
.profile Normal file
View 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