Completions: Fix completion of kdb subcommand
Before this commit Fish would fall back to directory completion if the
kdb command already contained a valid subcommand. For example, if we
wrote
kdb ls
and then invoked the completion, then Fish would substitute `ls` with a
folder in the current working directory.
@@ -74,7 +74,7 @@ function __fish_kdb__number_arguments_input_left -d 'Return the number of argume
end
function __fish_kdb_subcommand -d 'Check for and print the current kdb subcommand'
- set -l input (commandline -op)
+ set -l input (commandline -opc)
test (count $input) -le 1
and return 1
