mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-12-22 20:08:47 +00:00
Merge pull request #37 from futuro/regex-fix
Fixed key_binding_not_set regex issue
This commit is contained in:
commit
989d09249e
@ -45,7 +45,7 @@ server_option_value_not_changed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
key_binding_not_set() {
|
key_binding_not_set() {
|
||||||
local key="$1"
|
local key="${1//\\/\\\\}"
|
||||||
if $(tmux list-keys | grep -q "${KEY_BINDING_REGEX}${key}[[:space:]]"); then
|
if $(tmux list-keys | grep -q "${KEY_BINDING_REGEX}${key}[[:space:]]"); then
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user