You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fish completions for rustup suggest files alongside subcommands #5172
In fish shell, when you use an autocomple using tab you're getting directories and files alongside rustup subcommands.
As i know, rustup doesn't use any directories or files as arguments, so i recognize it as a bug
Steps
Setup fish autocomplete. If you are on linux you can run rustup completions fish rustup > ~/.config/fish/completions/rustup.fish
In fish write 'rustup '(leave one space char) and press tab. It should display subcommands and files and dirs
Possible Solution(s)
You can add 'complete -c rustup -f' in the beginning of fish autocomplete output. It will prevent display of files and directories.
I also tried to fix this in source code. I haven't find better solution than this:
I tried to find out how to make it a bit more beautiful with clap but no result.
Activity