mc completions
mc completions <SHELL>
Prints a completion script for the given shell to standard output. Accepted
shells: bash, elvish, fish, powershell, zsh.
Install it wherever the shell loads completions from. For example:
mc completions fish > ~/.config/fish/completions/mc.fish
mc completions bash > ~/.local/share/bash-completion/completions/mc
mc completions zsh > ~/.zfunc/_mc
The script describes the commands and options of the binary that generated it; regenerate it after upgrading mc.
Examples
mc completions fish > ~/.config/fish/completions/mc.fish