Don't source /etc/profile & $HOME/.profile if nonexistant in xinit

master
Miles Alan 4 years ago
parent f16b3f9762
commit deb83c0967
  1. 4
      scripts/core/sxmo_xinit.sh

@ -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…
Cancel
Save