Only source .profile once
This commit is contained in:
parent
48c9b0ae4b
commit
eff48e1e54
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue