diff --git a/share/completions/bind.fish b/share/completions/bind.fish index 9e1283721..ac1a68ee6 100644 --- a/share/completions/bind.fish +++ b/share/completions/bind.fish @@ -1,28 +1,3 @@ -function __fish_bind_test1 - set -l args - set -l use_keys no - for i in (commandline -pxc) - switch $i - case -k --k --ke --key - set use_keys yes - - case "-*" - - case "*" - set -a args $i - end - end - - switch $use_keys - case yes - switch (count $args) - case 1 - return 0 - end - end - return 1 -end - function __fish_bind_test2 set -l args for i in (commandline -pxc)