From: Darshaka Pathirana Date: Sun, 21 May 2017 17:56:58 +0000 (+0200) Subject: Run zsh when starting screen X-Git-Tag: v0.29.5~2 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=68719720b5707d8f8e6e0b4b3569074ede06e285;hp=68719720b5707d8f8e6e0b4b3569074ede06e285 Run zsh when starting screen When starting GNU/screen via systemd the SHELL varible is empty whereas SHELL=/bin/zsh when starting screen via grml-runtty. If we can assume that zsh is installed on Grml then this solution is ok. If not, we should address that in the run-screen script with something like: SHELL=/bin/sh [ -x /bin/zsh ] && SHELL=/bin/zsh # now run screen with config if [ `id -u` = 0 ] ; then exec screen -U -c /etc/grml/screenrc -s $SHELL [snip] (partly) fixes grml/grml#14 ---