mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-11-03 08:16:10 +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.