diff --git a/scripts/process_restore_helpers.sh b/scripts/process_restore_helpers.sh index 8bf5a78..546dfe1 100644 --- a/scripts/process_restore_helpers.sh +++ b/scripts/process_restore_helpers.sh @@ -132,7 +132,7 @@ _get_proc_restore_command() { if [[ "$restore_element" =~ " ${inline_strategy_arguments_token}" ]]; then # replaces "%" with command arguments local command_arguments="$(_get_command_arguments "$pane_full_command" "$match")" - echo "$restore_element" | sed "s/${inline_strategy_arguments_token}/${command_arguments}/" + echo "$restore_element" | sed "s,${inline_strategy_arguments_token},${command_arguments}," else echo "$restore_element" fi