mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-02 04:26:59 +00:00

If pane content is restored and no default-command is set, restore.sh falls back to default-shell, which tmux sets automatically and calls as a login shell. In pane_creation_command() we need to make sure to call default-shell as a login shell. As tmux does. But take care not to call default-command as a login shell.