mirror of
				https://github.com/tmux-plugins/tmux-sensible.git
				synced 2025-11-04 00:16:03 +00:00 
			
		
		
		
	@@ -1,6 +1,8 @@
 | 
				
			|||||||
# Changelog
 | 
					# Changelog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### master
 | 
					### master
 | 
				
			||||||
 | 
					- bugfix in `key_binding_not_set`: the regex is now properly detecting key
 | 
				
			||||||
 | 
					  bindings with `-r` flag.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### v2.1.0, 2014-12-12
 | 
					### v2.1.0, 2014-12-12
 | 
				
			||||||
- check before binding `prefix + prefix` (@m1foley)
 | 
					- check before binding `prefix + prefix` (@m1foley)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,7 +41,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 "bind-key[[:space:]]\+${key}"); then
 | 
						if $(tmux list-keys | grep -q "bind-key[[:space:]]\+\(-r[[:space:]]\+\)\?${key}"); then
 | 
				
			||||||
		return 1
 | 
							return 1
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		return 0
 | 
							return 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user