Skip to content

Commit

Permalink
fix: --blank set TMUXER_COMMAND to global subst const
Browse files Browse the repository at this point in the history
Instead of redefining the comand, just reference the existing global
constant for the substitution string.
  • Loading branch information
tjhop committed Mar 6, 2023
1 parent dc6d534 commit 20989f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmuxer
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ while (( "$#" > 0 )); do
;;
-b | --blank)
if [[ "$2" ]]; then
TMUXER_COMMAND="{}"
TMUXER_COMMAND="$_TMUXER_SUBST_STRING"
TMUXER_BLANK=1
count="$(printf '%d\n' ${2} 2>/dev/null)"
if [[ $count > 0 ]]; then
Expand Down

0 comments on commit 20989f3

Please sign in to comment.