During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in
locally completion
This page is part of the CLI Reference and is generated from the CLI's own help output, so it matches what locally completion --help prints.
locally completion
Generate the autocompletion script for the specified shell
Generate the autocompletion script for locally for the specified shell. See each sub-command's help for details on how to use the generated script.
Usage
locally completion [command]
Flags
-h, --help[=true|false] help for completion
Subcommands
- locally completion bash - Generate the autocompletion script for bash
- locally completion fish - Generate the autocompletion script for fish
- locally completion powershell - Generate the autocompletion script for powershell
- locally completion zsh - Generate the autocompletion script for zsh
locally completion bash
Generate the autocompletion script for bash
Generate the autocompletion script for the bash shell. This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager. To load completions in your current shell session: source <(locally completion bash) To load completions for every new session, execute once: #### Linux: locally completion bash > /etc/bash_completion.d/locally #### macOS: locally completion bash > $(brew --prefix)/etc/bash_completion.d/locally You will need to start a new shell for this setup to take effect.
Usage
locally completion bash
Flags
-h, --help[=true|false] help for bash
--no-descriptions[=true|false] disable completion descriptions
locally completion fish
Generate the autocompletion script for fish
Generate the autocompletion script for the fish shell. To load completions in your current shell session: locally completion fish | source To load completions for every new session, execute once: locally completion fish > ~/.config/fish/completions/locally.fish You will need to start a new shell for this setup to take effect.
Usage
locally completion fish [flags]
Flags
-h, --help[=true|false] help for fish
--no-descriptions[=true|false] disable completion descriptions
locally completion powershell
Generate the autocompletion script for powershell
Generate the autocompletion script for powershell. To load completions in your current shell session: locally completion powershell | Out-String | Invoke-Expression To load completions for every new session, add the output of the above command to your powershell profile.
Usage
locally completion powershell [flags]
Flags
-h, --help[=true|false] help for powershell
--no-descriptions[=true|false] disable completion descriptions
locally completion zsh
Generate the autocompletion script for zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need
to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(locally completion zsh)
To load completions for every new session, execute once:
#### Linux:
locally completion zsh > "${fpath[1]}/_locally"
#### macOS:
locally completion zsh > $(brew --prefix)/share/zsh/site-functions/_locally
You will need to start a new shell for this setup to take effect.
Usage
locally completion zsh [flags]
Flags
-h, --help[=true|false] help for zsh
--no-descriptions[=true|false] disable completion descriptions
During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in