mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 07:04:27 +08:00

A «complete -C '~/fish-shell/build/fish '» fails to load custom completions because we do not expand the ~, so complete_param_for_command() thinks that this command is invalid. Expand command tokens before loading custom completions. Fixes #8442