completions
Generate shell completions for bash, zsh, or fish.
Usage
jetti completions <SHELL>
Supported shells
bashzshfish
Setup
Bash
jetti completions bash > ~/.local/share/bash-completion/completions/jetti
Zsh
# Ensure the directory is in your fpath
mkdir -p ~/.zfunc
jetti completions zsh > ~/.zfunc/_jetti
# Add to .zshrc if not already present:
# fpath=(~/.zfunc $fpath)
# autoload -Uz compinit && compinit
Fish
jetti completions fish > ~/.config/fish/completions/jetti.fish
Completions take effect in new shell sessions, or after sourcing the file.