tmux-resurrect/scripts
kt programs 4941cdb074 _get_command_arguments: make trailing space optional
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.
2023-01-30 10:37:15 +08:00
..
check_tmux_version.sh Support only Tmux v1.9 or greater 2014-08-26 15:47:31 +02:00
helpers.sh use XDG_DATA_HOME for resurrect-dir path 2022-10-22 14:21:51 +08:00
process_restore_helpers.sh _get_command_arguments: make trailing space optional 2023-01-30 10:37:15 +08:00
restore.exp Command line script that fully restores tmux environment 2014-09-24 14:33:46 +02:00
restore.sh Fix restoring active/alternate windows 2022-05-01 17:32:14 +02:00
save.sh Remove deprecated "restoring shell history" 2022-04-10 08:58:27 +02:00
spinner_helpers.sh Show spinner during the env save process 2014-08-29 19:51:47 +02:00
tmux_spinner.sh Quote arguments in `tmux display-message` 2014-09-24 14:30:05 +02:00
variables.sh Remove deprecated "restoring shell history" 2022-04-10 08:58:27 +02:00