Shell Completions
nb completion <SHELL><SHELL> is one of bash, elvish, fish, powershell or zsh. The script is printed to standard output.
bash
echo 'source <(nb completion bash)' >> ~/.bashrczsh
mkdir -p ~/.zfunc
nb completion zsh > ~/.zfunc/_nbThen add fpath=(~/.zfunc $fpath) before compinit in ~/.zshrc.
fish
nb completion fish > ~/.config/fish/completions/nb.fishLast updated on