Skip to content

Commit 4d05440

Browse files
authored
Merge pull request #13 from modax/bug/quote-for-z-test
Quote values for -z test.
2 parents 4852c28 + 54c49a5 commit 4d05440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/shared.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ get_tmux_option() {
22
local option=$1
33
local default_value=$2
44
local option_value=$(tmux show-option -gqv "$option")
5-
if [ -z $option_value ]; then
5+
if [ -z "$option_value" ]; then
66
echo $default_value
77
else
88
echo $option_value

0 commit comments

Comments
 (0)