From 48ea2217e1e397a0f9bab30e80f3e7d3778671ae Mon Sep 17 00:00:00 2001 From: wzy <32936898+Freed-Wu@users.noreply.github.com> Date: Thu, 31 Aug 2023 04:09:23 +0800 Subject: [PATCH] fix: interpolate all interpolation strings --- pomodoro.tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomodoro.tmux b/pomodoro.tmux index af4b55e..f1a5536 100755 --- a/pomodoro.tmux +++ b/pomodoro.tmux @@ -68,7 +68,7 @@ set_keybindings() { do_interpolation() { local string="$1" - local interpolated="${string/$pomodoro_status_interpolation_string/$pomodoro_status}" + local interpolated="${string//$pomodoro_status_interpolation_string/$pomodoro_status}" echo "$interpolated" }