Skip to content

Commit

Permalink
fix: interpolate all interpolation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu authored Aug 30, 2023
1 parent ccaa034 commit 48ea221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pomodoro.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 48ea221

Please sign in to comment.