Skip to content
Dotweave Dotweave v0.39.7

dotweave autocomplete

Set up shell tab completion.

Print shell autocomplete scripts.

Emit shell-specific autocomplete scripts for use with eval-based shell setup.

dotweave autocomplete <shell>
SubcommandDescription
dotweave autocomplete bashPrint autocomplete script for Bash.
dotweave autocomplete zshPrint autocomplete script for Zsh.
dotweave autocomplete fishPrint autocomplete script for Fish.

Set up autocomplete in Bash (add to ~/.bashrc):

eval "$(dotweave autocomplete bash)"

Set up autocomplete in Zsh (add to ~/.zshrc):

eval "$(dotweave autocomplete zsh)"

Set up autocomplete in Fish (add to ~/.config/fish/config.fish):

dotweave autocomplete fish | source