about summary refs log tree commit diff
path: root/DESIGN.md
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-23 17:47:20 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2021-05-23 21:55:37 +0200
commit6d1c4fca2b903cdf657e15c039656c0a30122c46 (patch)
treeb37e8332f8a638bdc30a9f095fe6413ad7d60f30 /DESIGN.md
parentac0b98157d79e69c0f1422cb6236c7f978428dec (diff)
Launch $SHELL by default if it is set
In an user environment (which saneterm would usually be executed in)
$SHELL should point to the current user's login shell as per environ(7).
On startup, check if the variable is set and use it to populate the
default command to run if it is, otherwise fall back to `sh` like
before.

I believe this is the correct change even if it gives users (including
me) more trouble since many login shells people will use (like fish)
don't work well in saneterm, whereas /bin/sh usually will work fine.
Diffstat (limited to 'DESIGN.md')
0 files changed, 0 insertions, 0 deletions