also source ~/.profile when looking for envvars
I have the impression that setting environment variables in the custom xinit script doesn't always work properly (no idea why). Putting them in ~/.profile seems to be more robust. Sourcing it is a good idea anyhow, hence this patch:
This commit is contained in:
parent
41f2adf18a
commit
7830d95209
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
envvars() {
|
envvars() {
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
|
. ~/.profile
|
||||||
command -v "$TERM" || export TERM=st
|
command -v "$TERM" || export TERM=st
|
||||||
command -v "$BROWSER" || export BROWSER=surf
|
command -v "$BROWSER" || export BROWSER=surf
|
||||||
command -v "$EDITOR" || export EDITOR=vis
|
command -v "$EDITOR" || export EDITOR=vis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue