docs: Command-completion additional refs section
Dylan Powers committed
Apr 21, 2015 at 13:51 UTC
380ee4a535f43594496da96b4789ea5741cb7d4d
1 file changed
+9
-4
docs/command-completion.md
+9
-4
@@ -4,15 +4,15 @@ Command Completion
4
Shell command completion is provided by the script at
5
`/misc/completion/ipfs-completion.bash`.
6
7
+
8
+Installation
9
+------------
10
The simplest way to see it working is to run
11
`source misc/completion/ipfs-completion.bash` straight from your shell. This
12
is only temporary and to fully enable it, you'll have to follow one of the steps
13
below.
14
12
-Linux
13
------
14
-### Bash
15
-
15
+### Bash on Linux
16
For bash, completion can be enabled in a couple of ways. One is to add
17
```bash
18
if [ -n "$GOPATH" ]; then
@@ -23,3 +23,8 @@ into your `~/.bash_completion`. It will automatically be loaded the next time
23
bash is loaded.
24
To enable ipfs command completion globally on your system you may also
25
copy the completion script to `/etc/bash_completion.d/`.
26
+
27
+
28
+Additional References
29
+---------------------
30
+* https://www.debian-administration.org/article/316/An_introduction_to_bash_completion_part_1