We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4cf61d commit 09be78cCopy full SHA for 09be78c
battery.tmux
@@ -30,7 +30,7 @@ set_tmux_option() {
30
do_interpolation() {
31
local all_interpolated="$1"
32
for ((i=0; i<${#battery_commands[@]}; i++)); do
33
- all_interpolated=${all_interpolated/${battery_interpolation[$i]}/${battery_commands[$i]}}
+ all_interpolated=${all_interpolated//${battery_interpolation[$i]}/${battery_commands[$i]}}
34
done
35
echo "$all_interpolated"
36
}
0 commit comments