diff --git a/scripts/process_restore_helpers.sh b/scripts/process_restore_helpers.sh index 49d3844..8bf5a78 100644 --- a/scripts/process_restore_helpers.sh +++ b/scripts/process_restore_helpers.sh @@ -121,7 +121,7 @@ _get_command_arguments() { if _proc_starts_with_tildae "$match"; then match="$(remove_first_char "$match")" fi - echo "$pane_full_command" | sed "s,^.*${match}[^ ]* ,," + echo "$pane_full_command" | sed "s,^.*${match}[^ ]* *,," } _get_proc_restore_command() {