mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Add a few tests for legacy bind
invocations
This commit is contained in:
parent
3b6a11f881
commit
769316fd1a
@ -120,6 +120,15 @@ bind | string match -v '*\e\\[*'
|
|||||||
# CHECK: bind -M bind_mode ctrl-x true
|
# CHECK: bind -M bind_mode ctrl-x true
|
||||||
# CHECK: bind tab 'echo banana'
|
# CHECK: bind tab 'echo banana'
|
||||||
|
|
||||||
|
# Legacy
|
||||||
|
bind \cx\cax 'echo foo'
|
||||||
|
bind \cx\cax
|
||||||
|
# CHECK: bind ctrl-x,ctrl-a,x 'echo foo'
|
||||||
|
bind \ef forward-word
|
||||||
|
bind \ef
|
||||||
|
# CHECK: bind alt-f forward-word
|
||||||
|
|
||||||
|
|
||||||
# Erasing bindings
|
# Erasing bindings
|
||||||
bind --erase tab
|
bind --erase tab
|
||||||
bind tab
|
bind tab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user