mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +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 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
|
||||
bind --erase tab
|
||||
bind tab
|
||||
|
Loading…
x
Reference in New Issue
Block a user