aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:57:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-11 18:57:15 +0000
commit3f282a2f2e313b68670998795b8ba132830133cb (patch)
treef4f019690e047cd5c9dfa49da1d103ee20a3f744
parentMerge branch 'text-reflow' (diff)
footrc, doc/foot.5: improve documentation of 'shell', and mention --login
-rw-r--r--doc/foot.5.scd3
-rw-r--r--footrc2
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/foot.5.scd b/doc/foot.5.scd
index 088df46b..a2394ea4 100644
--- a/doc/foot.5.scd
+++ b/doc/foot.5.scd
@@ -37,7 +37,8 @@ in this order:
*shell*
Executable to launch. Typically a shell. Default: the user's
- default shell (as specified in _/etc/passwd_).
+ default shell (as specified in _/etc/passwd_). You can also pass
+ arguments. For example "/bin/bash --login".
*term*
Value to set the environment variable *TERM* to. Default: _foot_.
diff --git a/footrc b/footrc
index 9a686e5f..966b975f 100644
--- a/footrc
+++ b/footrc
@@ -1,7 +1,7 @@
# font=monospace
# scrollback=1000
# geometry=500x300
-# shell=<user's default shell (from /etc/passwd)>
+# shell=<user's default shell (from /etc/passwd)> (you may need to override if you need a login shell)
# term=foot
# workers=<number of logical CPUs>