mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Remove unnecessary escaping for # and ~ inside key name tokens
While at it, don't escape "?", I don't know why 68e167d576 (f-k-r should
use the user's locale, 2016-06-29) did that. Question mark is only special
in combination with redirections.
This commit is contained in:
@@ -120,6 +120,15 @@ bind | string match -v '*\e\\[*'
|
||||
# CHECK: bind -M bind_mode ctrl-x true
|
||||
# CHECK: bind tab 'echo banana'
|
||||
|
||||
bind ctrl-#
|
||||
bind alt-\#
|
||||
bind super-ctrl-~
|
||||
bind super-alt-\~
|
||||
# CHECKERR: bind: No binding found for key 'ctrl-#'
|
||||
# CHECKERR: bind: No binding found for key 'alt-#'
|
||||
# CHECKERR: bind: No binding found for key 'super-ctrl-~'
|
||||
# CHECKERR: bind: No binding found for key 'super-alt-~'
|
||||
|
||||
# Legacy
|
||||
bind \cx\cax 'echo foo'
|
||||
bind \cx\cax
|
||||
|
||||
Reference in New Issue
Block a user