mirror of
https://github.com/tmate-io/tmate.git
synced 2025-06-19 17:17:53 +02:00
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
Instant Terminal Sharing
Languages
C
90.6%
Roff
7.1%
M4
1%
Awk
0.6%
Makefile
0.4%
Other
0.2%