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() { envvars() {
# shellcheck disable=SC1091 # shellcheck disable=SC1091
. /etc/profile [ -f /etc/profile ] && . /etc/profile
. ~/.profile [ -f "$HOME"/.profile ] && . "$HOME"/.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…
Cancel
Save