refactor: dry duplicated method
This commit is contained in:
parent
e33cccf5c6
commit
fa42a2e465
10 changed files with 15 additions and 9 deletions
|
@ -42,7 +42,7 @@ EOF
|
|||
fi
|
||||
# check if status is not transparent
|
||||
_status_style_expected="bg=default,fg=#ebdbb2"
|
||||
_status_style_current=$(tmux show-option -gqv status-style)
|
||||
_status_style_current=$(tmux_get_statusstyle)
|
||||
if [[ "$_status_style_current" != "$_status_style_expected" ]]; then
|
||||
helper_print_fail "status-style did not match" "$_status_style_current" "$_status_style_expected"
|
||||
helper_teardown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue