3.6.2. Autocompletion¶
Warning
This API is deprecated.
Axonius API v2 is now available, we recommend you move to API v2.
New features will no longer be added to this API. Axonius will only provide bug fixes.
Since axonshell is built using click, there is automatic support for bash and zsh autocompletion.
3.6.2.1. Bash¶
$ echo 'eval "$(_AXONSHELL_COMPLETE=source axonshell)"' >> ~/.bashrc
3.6.2.2. Zsh¶
$ echo 'eval "$(_AXONSHELL_COMPLETE=source_zsh axonshell)"' >> ~/.zshrc
Example of setting up autocomplete in a single shell session: