Merge pull request #987 from influxdata/completion

Link to shell completion docs from get-started.md
pull/992/head
pierwill 2020-04-28 15:01:43 -07:00 committed by GitHub
commit 8b10e9801d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -172,6 +172,10 @@ We are in the process of updating our build process to ensure released binaries
_See the [`influxd` documentation](/v2.0/reference/cli/influxd) for information about
available flags and options._
### Enable shell completion (Optional)
To install `influx` shell completion scripts, see [`influx completion`](/v2.0/reference/cli/influx/completion/#install-completion-scripts).
{{% note %}}
#### InfluxDB "phone home"
By default, InfluxDB sends telemetry data back to InfluxData.
@ -231,6 +235,10 @@ influxd
_See the [`influxd` documentation](/v2.0/reference/cli/influxd) for information about
available flags and options._
### Enable shell completion (Optional)
To install `influx` shell completion scripts, see [`influx completion`](/v2.0/reference/cli/influx/completion/#install-completion-scripts).
{{% note %}}
#### InfluxDB "phone home"
By default, InfluxDB sends telemetry data back to InfluxData.

View File

@ -28,6 +28,8 @@ influx completion [bash|zsh] [flags]
## Install completion scripts
Add the appropriate installation command below to your `.bashrc` or `.zshrc`.
{{< code-tabs-wrapper >}}
{{% code-tabs %}}
[bash](#)
@ -55,7 +57,3 @@ $ source <(influx completion zsh)
{{% /code-tab-content %}}
{{< /code-tabs-wrapper >}}
{{% note %}}
To automatically load the `influx` completion scripts when opening a new shell,
add the appropriate installation command from above to your `.bashrc` or `.zshrc`.
{{% /note %}}