We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99e7ef7 + 4a6708a commit 9f404e0Copy full SHA for 9f404e0
scripts/helpers.sh
@@ -4,7 +4,10 @@ export LC_ALL=C
4
get_tmux_option() {
5
local option="$1"
6
local default_value="$2"
7
- local option_value="$(tmux show-option -gqv "$option")"
+ local option_value="$(tmux show-option -qv "$option")"
8
+ if [ -z "$option_value" ]; then
9
+ option_value="$(tmux show-option -gqv "$option")"
10
+ fi
11
if [ -z "$option_value" ]; then
12
echo "$default_value"
13
else
0 commit comments