mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
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.
This commit is contained in:
parent
f235bfdfdf
commit
74175b5bd1
3 changed files with 15 additions and 10 deletions
2
footrc
2
footrc
|
|
@ -4,7 +4,7 @@
|
|||
# scrollback=1000
|
||||
# geometry=800x600
|
||||
# pad=2x2
|
||||
# shell=<user's default shell (from /etc/passwd)> (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=<number of logical CPUs>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue