Shell command completion is provided by the script at /misc/completion/ipfs-completion.bash.
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.
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
source ~/.ipfs/ipfs-completion.bash
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/
.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。