Describe the bug
Hi, i'm getting usage not installed when trying to generate the completions in fish.
➜ usage -V
usage-cli 0.3.0
➜ mise completion fish --verbose
[DEBUG] ARGS: mise completion fish --verbose
[DEBUG] $ usage generate completion fish mise --usage-cmd mise usage
# if "usage" is not installed show an error
if ! command -v usage &> /dev/null
echo >&2
echo "Error: usage CLI not found. This is required for completions to work in mise." >&2
echo "See https://usage.jdx.dev for more information." >&2
return 1
end
set _usage_spec_mise (mise usage | string collect)
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise" -- (commandline -cop) (commandline -t))'
To Reproducemise completion fish
Expected behavior
The command mise completion <shell> should print out the relevant completions in stdout.
Describe the bug Hi, i'm getting
usage not installed
when trying to generate the completions in fish.To Reproduce
mise completion fish
Expected behavior The command
mise completion <shell>
should print out the relevant completions in stdout.mise doctor
output