Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_default_shell

Fix #94 start default-shell as login shell.
This commit is contained in:
Bruno Sutic
2019-11-27 14:56:15 +01:00
committed by GitHub

View File

@ -100,7 +100,7 @@ tmux_socket() {
# tmux server each time.
cache_tmux_default_command() {
local default_shell="$(get_tmux_option "default-shell" "")"
export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "$default_shell")"
export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "-l $default_shell")"
}
tmux_default_command() {