mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2025-01-05 06:58:49 +00:00
parent
22d1305cb7
commit
b5a1c2ade5
@ -1,6 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
### master
|
||||
- bugfix in `key_binding_not_set`: the regex is now properly detecting key
|
||||
bindings with `-r` flag.
|
||||
|
||||
### v2.1.0, 2014-12-12
|
||||
- check before binding `prefix + prefix` (@m1foley)
|
||||
|
@ -41,7 +41,7 @@ server_option_value_not_changed() {
|
||||
|
||||
key_binding_not_set() {
|
||||
local key="$1"
|
||||
if $(tmux list-keys | grep -q "bind-key[[:space:]]\+${key}"); then
|
||||
if $(tmux list-keys | grep -q "bind-key[[:space:]]\+\(-r[[:space:]]\+\)\?${key}"); then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user