refactor: dry duplicated method
This commit is contained in:
parent
e33cccf5c6
commit
fa42a2e465
10 changed files with 15 additions and 9 deletions
|
@ -61,3 +61,9 @@ tmux_set_window_option_now() {
|
|||
_value="$2"
|
||||
tmux set-window-option -gq "$_option_name" "$_value"
|
||||
}
|
||||
|
||||
# return the value of status style
|
||||
tmux_get_statusstyle() {
|
||||
local _val=tmux show-option -gqv status-style
|
||||
echo "$_val"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue