Gentoo 下开启pip的bash completion

1. 安装 Pip
[code lang=”bash”]
$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
[/code]

2. 生成bash completion profile
[code lang=”bash”]
$ pip completion –bash >> /usr/share/bash-completion/pip
[/code]

3. 开启pip的bashcomp
[code lang=”bash”]
$ eselect bashcomp enable pip
[/code]