fix too many arguments in utils.sh
This commit is contained in:
parent
90c2748a39
commit
58619bd3c6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ get_tmux_option() {
|
||||||
local option=$1
|
local option=$1
|
||||||
local default_value=$2
|
local default_value=$2
|
||||||
local option_value=$(tmux show-option -gqv "$option")
|
local option_value=$(tmux show-option -gqv "$option")
|
||||||
if [ -z $option_value ]; then
|
if [ -z "$option_value" ]; then
|
||||||
echo $default_value
|
echo $default_value
|
||||||
else
|
else
|
||||||
echo $option_value
|
echo $option_value
|
||||||
|
|
Loading…
Reference in a new issue