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

stash completions <SHELL>

Prints a shell completion script to stdout. Supported shells: bash, zsh, fish, powershell, elvish.

Source the output in your shell’s startup file to get tab-completion for all subcommands, flags, and arguments:

# bash — add to ~/.bashrc
source <(stash completions bash)

# zsh — add to ~/.zshrc
source <(stash completions zsh)

# fish — save to the completions directory
stash completions fish > ~/.config/fish/completions/stash.fish