From 74175b5bd12d5d28bcb298f3dfdad63b7e5bba56 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 2 Mar 2020 18:45:38 +0100 Subject: config: prefer $SHELL over /etc/passwd If the user hasn't configured a shell in footrc, use $SHELL. Only if that variable isn't set do we use the shell from /etc/passwd. --- footrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'footrc') diff --git a/footrc b/footrc index 7eea3ada..e63403f8 100644 --- a/footrc +++ b/footrc @@ -4,7 +4,7 @@ # scrollback=1000 # geometry=800x600 # pad=2x2 -# shell= (you may need to override if you need a login shell) +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) # term=foot # login-shell=no # workers= -- cgit v1.3