dotweave autocomplete
Set up shell tab completion.
Print shell autocomplete scripts.
Emit shell-specific autocomplete scripts for use with eval/source-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. |
| dotweave autocomplete powershell | Print autocomplete script for PowerShell. |
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 for the current session:
dotweave autocomplete fish | sourceSet up autocomplete in Fish persistently:
mkdir -p ~/.config/fish/completionsdotweave autocomplete fish > ~/.config/fish/completions/dotweave.fishSet up autocomplete in PowerShell (add to your profile):
dotweave autocomplete powershell | Invoke-Expression