Shell Autocomplete
Set up tab completion for dotweave in your shell.
Tab completion lets you discover commands, flags, and arguments without reaching for the docs. dotweave supports Bash, Zsh, Fish, and PowerShell.
Add this line to your ~/.bashrc:
eval "$(dotweave autocomplete bash)"Then reload your shell:
source ~/.bashrcAdd this line to your ~/.zshrc:
eval "$(dotweave autocomplete zsh)"Then reload your shell:
source ~/.zshrcFor the current session, run:
dotweave autocomplete fish | sourceFor persistent setup, write the completion file:
mkdir -p ~/.config/fish/completionsdotweave autocomplete fish > ~/.config/fish/completions/dotweave.fishPowerShell
Section titled “PowerShell”Add this line to your PowerShell profile ($PROFILE):
dotweave autocomplete powershell | Invoke-ExpressionThen reload your profile:
. $PROFILE