Skip to content
Dotweave Dotweave v0.48.0

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 ~/.bashrc

Add this line to your ~/.zshrc:

eval "$(dotweave autocomplete zsh)"

Then reload your shell:

source ~/.zshrc

For the current session, run:

dotweave autocomplete fish | source

For persistent setup, write the completion file:

mkdir -p ~/.config/fish/completions
dotweave autocomplete fish > ~/.config/fish/completions/dotweave.fish

Add this line to your PowerShell profile ($PROFILE):

dotweave autocomplete powershell | Invoke-Expression

Then reload your profile:

. $PROFILE