influxdata / influxdata/docs-v2
Auto-completion documentation contains a wrong source command
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
Hi, the source command on debian/ubuntu under bash returns an error as it's a directory
```
source /etc/bash_completion.d
-bash: source: /etc/bash_completion.d: is a directory
```
Thus it can be probably removed from a few occurrences and only keep the `source <(influx completion bash)`
##### Relevant URLs
- https://docs.influxdata.com/influxdb/v2.1/reference/cli/influx/completion/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the linked InfluxDB CLI completion documentation page and locate the Debian/Ubuntu bash instructions. Remove the erroneous `source /etc/bash_completion.d` occurrences while retaining `source <(influx completion bash)`; done means the documented command no longer treats the directory as a source file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100