mirror of
https://github.com/tmux/tmux.git
synced 2025-11-24 19:06:07 +00:00
a3a150faf22fe1d8303e8e92aa2a6d92e7e10b5c
When using tmux as a login shell, there is currently no way to specify a shell to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option.
Description
No description provided
Languages
C
87.5%
Roff
7.1%
Shell
2.7%
Yacc
1.3%
M4
0.8%
Other
0.5%