Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

completions

Generate shell completions for bash, zsh, or fish.

Usage

jetti completions <SHELL>

Supported shells

  • bash
  • zsh
  • fish

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.