Skip to content

Commit

Permalink
Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_de…
Browse files Browse the repository at this point in the history
…fault_shell

Fix #94 start default-shell as login shell.
  • Loading branch information
bruno- committed Nov 27, 2019
2 parents 0f0ec12 + 9187f8b commit c66b791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/restore.sh
Expand Up @@ -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() {
Expand Down

0 comments on commit c66b791

Please sign in to comment.