nsc completion fish
Generate the autocompletion script for the fish shell.
completion fish generates a fish autocompletion script for nsc. Sourcing or installing
this script gives you tab-completion for nsc commands, subcommands, and flags in your
shell.
To load completions in your current shell session:
nsc completion fish | sourceTo load completions for every new session, execute once:
nsc completion fish > ~/.config/fish/completions/nsc.fishYou will need to start a new shell for this setup to take effect.
Usage
nsc completion fish [--no-descriptions]Example
$ nsc completion fish | sourceOptions
--no-descriptions
Disable the descriptions shown alongside completion suggestions. By default, nsc
includes a short description for each command, subcommand, and flag when completing;
pass this flag if you'd rather see just the bare completion candidates.