aboutsummaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-08-16 16:02:35 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-08-16 16:02:35 -0400
commit2a0a194237f55d663b47f992c4b1f12c246804c6 (patch)
treeab601bfb8312da6e3d4ed7f271a73af44733d143 /tests.sh
parentUpdate docs and setting (diff)
downloadtmux-toggle-term-2a0a194237f55d663b47f992c4b1f12c246804c6.zip
Remove need for bc
Diffstat (limited to 'tests.sh')
-rw-r--r--tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 09126f9..56d04eb 100644
--- a/tests.sh
+++ b/tests.sh
@@ -22,7 +22,7 @@ tmux_kill_server() {
}
tmux_pane_count() {
- num_panes=$(tmux -L "$TMUX_SOCKET" list-panes | wc -l | bc)
+ num_panes=$(tmux -L "$TMUX_SOCKET" list-panes | wc -l | sed 's/^[[:space:]]*//g')
echo "$num_panes"
}