https://github.com/ipfs/go-ipfs/blob/master/misc/completion/ipfs-completion.bash That one works fine!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb439113e0d205f2b83ae15891dce2b85644e49 commit dcb439113e0d205f2b83ae15891dce2b85644e49 Author: David Roman <davidroman96@gmail.com> AuthorDate: 2018-02-06 15:12:32 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-02-08 20:03:20 +0000 net-p2p/go-ipfs-bin: add bash completion file Closes: https://bugs.gentoo.org/643636 Closes: https://github.com/gentoo/gentoo/pull/7092 net-p2p/go-ipfs-bin/files/ipfs-completion.bash | 959 +++++++++++++++++++++++ net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.13-r1.ebuild | 28 + 2 files changed, 987 insertions(+)