mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 17:27:58 +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