completion
Creates a tab-completion script for a specified shell.
Creates a tab-completion script for a specified shell.
A tab-completion script for your default shell is automatically generated and configured when you install OpenText™ Analytics Database, so completion
is only necessary in cases where you either change shells or want to use vcluster
from a non-OpenText™ Analytics Database node.
Syntax
vcluster completion subcommand
Subcommands options
shell
- The shell for which to generate a completion script, one of the following:
bash
fish
powershell
zsh
Examples
For example, to configure tab-completion for bash
on Linux, generate the tab-completion script, redirecting its output to a new file vcluster_tab_completion
:
$ vcluster completion bash > /etc/bash_completion.d/vcluster
Similarly, for bash
on macOS:
$ vcluster completion bash > $(brew --prefix)/etc/bash_completion.d/vcluster