Unverified Commit c66b791f authored by Bruno Sutic's avatar Bruno Sutic Committed by GitHub
Browse files

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

Fix #94 start default-shell as login shell.
parents 0f0ec12e 9187f8b3
......@@ -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() {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment