Blitz 尚在 beat 阶段! 🎉 预计会在今年的 Q3 季度发布 1.0
Back to Documentation Menu

blitz autocomplete

显示自动补全安装说明。

注意:自动补全目前 在 Windows 上不正常工作

blitz autocomplete [shell]
参数必须描述
shellzshbash

示例输出

> blitz autocomplete zsh

Building the autocomplete cache... done

Setup Instructions for BLITZ CLI Autocomplete ---

1) Add the autocomplete env var to your zsh profile and source it
$ printf "$(blitz autocomplete:script zsh)" >> ~/.zshrc; source ~/.zshrc

NOTE: After sourcing, you can run `$ compaudit -D` to ensure no permissions conflicts are present

2) Test it out, e.g.:
$ blitz <TAB>                 # Command completion
$ blitz command --<TAB>       # Flag completion

Enjoy!

Idea for improving this page? Edit it on GitHub.