atmos completion
Purpose
Use this command to generate completion scripts for Bash
, Zsh
, Fish
and PowerShell
.
Usage
Execute the completion
command like this:
atmos completion [bash|zsh|fish|powershell]
This command generates completion scripts for Bash
, Zsh
, Fish
and powershell
.
When the generated completion script is loaded into the shell, pressing the tab key twice displays the available commands and the help.
tip
Run atmos completion --help
to see all the available options
Examples
atmos completion bash
atmos completion zsh
atmos completion fish
atmos completion powershell
You can generate and load the shell completion script for Bash
by executing the following commands:
atmos completion bash > /tmp/completion
source /tmp/completion
or
source <(atmos completion bash)
Arguments
Argument | Description | Required |
---|---|---|
shell_name | Shell name. Valid values are bash , zsh , fish and powershell | yes |
info
Refer to Command-line completion for more details