Skip to content

Commit

Permalink
Merge pull request #13 from modax/bug/quote-for-z-test
Browse files Browse the repository at this point in the history
Quote values for -z test.
  • Loading branch information
bruno- authored Jan 7, 2019
2 parents 4852c28 + 54c49a5 commit 4d05440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ get_tmux_option() {
local option=$1
local default_value=$2
local option_value=$(tmux show-option -gqv "$option")
if [ -z $option_value ]; then
if [ -z "$option_value" ]; then
echo $default_value
else
echo $option_value
Expand Down

0 comments on commit 4d05440

Please sign in to comment.