Merge pull request #987 from influxdata/completion
Link to shell completion docs from get-started.mdpull/992/head
commit
8b10e9801d
|
@ -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.
|
||||
|
|
|
@ -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 %}}
|
||||
|
|
Loading…
Reference in New Issue