mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-11-24 09:08:48 +00:00
Code style improvements
This commit is contained in:
parent
6a9c4a78ff
commit
47df9983a9
@ -11,14 +11,14 @@ option_value_not_changed() {
|
|||||||
local option="$1"
|
local option="$1"
|
||||||
local default_value="$2"
|
local default_value="$2"
|
||||||
local option_value=$(tmux show-option -gv "$option")
|
local option_value=$(tmux show-option -gv "$option")
|
||||||
[ $option_value == $default_value ]
|
[ "$option_value" == "$default_value" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
server_option_value_not_changed() {
|
server_option_value_not_changed() {
|
||||||
local option="$1"
|
local option="$1"
|
||||||
local default_value="$2"
|
local default_value="$2"
|
||||||
local option_value=$(tmux show-option -sv "$option")
|
local option_value=$(tmux show-option -sv "$option")
|
||||||
[ $option_value == $default_value ]
|
[ "$option_value" == "$default_value" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
key_binding_not_set() {
|
key_binding_not_set() {
|
||||||
|
Loading…
Reference in New Issue
Block a user