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
08c15e43
Commit
08c15e43
authored
Apr 22, 2015
by
Dylan Powers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Add completion instructions that don't require go
parent
380ee4a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
docs/command-completion.md
docs/command-completion.md
+5
-6
No files found.
docs/command-completion.md
View file @
08c15e43
...
...
@@ -13,14 +13,13 @@ is only temporary and to fully enable it, you'll have to follow one of the steps
below.
### Bash on Linux
For bash, completion can be enabled in a couple of ways. One is to add
For bash, completion can be enabled in a couple of ways. One is to copy the
completion script to the directory
`~/.ipfs/`
and then in the file
`~/.bash_completion`
add
```
bash
if
[
-n
"
$GOPATH
"
]
;
then
source
$GOPATH
/src/github.com/ipfs/go-ipfs/misc/completion/ipfs-completion.bash
fi
source
~/.ipfs/ipfs-completion.bash
```
into your
`~/.bash_completion`
. It will automatically be loaded the next time
bash is loaded.
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/`
.
...
...
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