jnc completion
Generates shell completion scripts for jnc. Completions provide tab-completion for commands, subcommands, options, and arguments in your shell.Usage
Options
| Option | Description |
|---|---|
--shell | The shell to generate completions for (required) |
Supported Shells
| Shell | Value |
|---|---|
| Bash | bash |
| Fish | fish |
| Zsh | zsh |
| Elvish | elvish |
Examples
Bash
Add to your~/.bashrc:
Fish
Save to the Fish completions directory:Zsh
Add to your~/.zshrc:
fpath:
~/.zfunc is in your fpath (add fpath=(~/.zfunc $fpath) to ~/.zshrc before compinit).
Elvish
Add to your~/.elvish/rc.elv: