Don't source /etc/profile & $HOME/.profile if nonexistant in xinit
This commit is contained in:
parent
f16b3f9762
commit
deb83c0967
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
envvars() {
|
||||
# shellcheck disable=SC1091
|
||||
. /etc/profile
|
||||
. ~/.profile
|
||||
[ -f /etc/profile ] && . /etc/profile
|
||||
[ -f "$HOME"/.profile ] && . "$HOME"/.profile
|
||||
command -v "$TERM" || export TERM=st
|
||||
command -v "$BROWSER" || export BROWSER=surf
|
||||
command -v "$EDITOR" || export EDITOR=vis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue