From 1c9aec48991c6e2503d5a35fadae4e00b61faa4c Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 29 Sep 2014 14:22:37 +0800 Subject: [PATCH] bind: add completions for -m and -M See https://github.com/fish-shell/fish-shell/issues/1663 --- share/completions/bind.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/bind.fish b/share/completions/bind.fish index fbdd91c29..162fd08fd 100644 --- a/share/completions/bind.fish +++ b/share/completions/bind.fish @@ -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