mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 22:08:46 +00:00
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:
commit
c66b791fff
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user