diff --git a/tmux-thumbs.sh b/tmux-thumbs.sh index b6ee475..58b11f8 100755 --- a/tmux-thumbs.sh +++ b/tmux-thumbs.sh @@ -15,7 +15,7 @@ function add-boolean-param { function add-option-param { VALUE=$(tmux show -vg @thumbs-$1 2> /dev/null) - if [[ ${VALUE} ]]; then + if [ -n "${VALUE}" ]; then PARAMS+=("--$1=${VALUE}") fi }