mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
bind: add completions for -m and -M
See https://github.com/fish-shell/fish-shell/issues/1663
This commit is contained in:
parent
f0d8d90ed1
commit
1c9aec4899
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ complete -c bind -s f -l function-names --description 'Print names of available
|
|||
complete -c bind -s h -l help --description "Display help and exit"
|
||||
complete -c bind -s k -l key --description 'Specify key name, not sequence'
|
||||
complete -c bind -s K -l key-names --description 'Print names of available keys'
|
||||
complete -c bind -s m -l mode --description 'Add to named bind mode'
|
||||
complete -c bind -s M -l new-mode --description 'Change current bind mode to named mode'
|
||||
|
||||
complete -c bind -n __fish_bind_test1 -a '(bind --key-names)' -d 'Key name' -x
|
||||
complete -c bind -n __fish_bind_test2 -a '(bind --function-names)' -d 'Function name' -x
|
||||
|
|
Loading…
Reference in a new issue