Skip to content

Commit c66b791

Browse files
authored
Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_default_shell
Fix #94 start default-shell as login shell.
2 parents 0f0ec12 + 9187f8b commit c66b791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tmux_socket() {
100100
# tmux server each time.
101101
cache_tmux_default_command() {
102102
local default_shell="$(get_tmux_option "default-shell" "")"
103-
export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "$default_shell")"
103+
export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "-l $default_shell")"
104104
}
105105

106106
tmux_default_command() {

0 commit comments

Comments
 (0)