Use $SHELL, fix after patch: Start terminal with a login shell if run from dmenu

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Maarten van Gompel 2020-11-06 22:35:27 +01:00
parent 8fc92c55d5
commit ce188e2f26
2 changed files with 4 additions and 3 deletions

View file

@ -8,6 +8,7 @@ envvars() {
command -v "$TERMCMD" || export TERMCMD=st
command -v "$BROWSER" || export BROWSER=surf
command -v "$EDITOR" || export EDITOR=vis
command -v "$SHELL" || export SHELL=/bin/sh
command -v "$KEYBOARD" || defaultkeyboard
[ -z "$MPV_HOME" ] && export MPV_HOME=/usr/share/sxmo/mpv
[ -z "$MOZ_USE_XINPUT2" ] && export MOZ_USE_XINPUT2=1