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>Subcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
dotweave autocomplete bash | Print autocomplete script for Bash. |
dotweave autocomplete zsh | Print autocomplete script for Zsh. |
dotweave autocomplete fish | Print autocomplete script for Fish. |
Examples
Section titled “Examples”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