aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-02 17:45:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-02 17:45:38 +0000
commit74175b5bd12d5d28bcb298f3dfdad63b7e5bba56 (patch)
treebd487338315e1b50ab5a5c17d583c6e42b6bef56 /doc
parentterminal: workaround founds with negative line gaps (diff)
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.5.scd7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/foot.5.scd b/doc/foot.5.scd
index 30fd735c..2eebcf11 100644
--- a/doc/foot.5.scd
+++ b/doc/foot.5.scd
@@ -41,9 +41,10 @@ in this order:
_XxY_ (-padding).
*shell*
- Executable to launch. Typically a shell. Default: the user's
- default shell (as specified in _/etc/passwd_). You can also pass
- arguments. For example "/bin/bash --norc".
+ Executable to launch. Typically a shell. Default: _$SHELL_ if set,
+ otherwise the user's default shell (as specified in
+ _/etc/passwd_). You can also pass arguments. For example
+ "/bin/bash --norc".
*login-shell*
Start a login shell, by prepending a '-' to argv[0]. Default: _no_.