Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
380ee4a5
Commit
380ee4a5
authored
Apr 21, 2015
by
Dylan Powers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Command-completion additional refs section
parent
d6d038bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
docs/command-completion.md
docs/command-completion.md
+9
-4
No files found.
docs/command-completion.md
View file @
380ee4a5
...
...
@@ -4,15 +4,15 @@ Command Completion
Shell command completion is provided by the script at
`/misc/completion/ipfs-completion.bash`
.
Installation
------------
The simplest way to see it working is to run
`source misc/completion/ipfs-completion.bash`
straight from your shell. This
is only temporary and to fully enable it, you'll have to follow one of the steps
below.
Linux
-----
### Bash
### Bash on Linux
For bash, completion can be enabled in a couple of ways. One is to add
```
bash
if
[
-n
"
$GOPATH
"
]
;
then
...
...
@@ -23,3 +23,8 @@ into your `~/.bash_completion`. It will automatically be loaded the next time
bash is loaded.
To enable ipfs command completion globally on your system you may also
copy the completion script to
`/etc/bash_completion.d/`
.
Additional References
---------------------
*
https://www.debian-administration.org/article/316/An_introduction_to_bash_completion_part_1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment