mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-06 08:26:57 +00:00

When pane_full_command has no arguments, the regex doesn't find argv[0] as there is no trailing space. For example, if pane_full_command was "vim" and the restore option was "~Vim->vim *", the command "vim vim" would get executed instead of just "vim". Make the trailing space optional to match having only the command without arguments.