Only source .profile once

This commit is contained in:
buffet 2021-05-08 22:24:52 +00:00
parent 48c9b0ae4b
commit eff48e1e54

View file

@ -1,4 +1,8 @@
test -z "$PROFILEREAD" && . /etc/profile || true [ "$READPROFILE" ] && return
. /etc/profile || true
export READPROFILE=1
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"