![通过 brew 安装后,Bash 补全对“aws cli”不起作用](https://linux22.com/image/1594898/%E9%80%9A%E8%BF%87%20brew%20%E5%AE%89%E8%A3%85%E5%90%8E%EF%BC%8CBash%20%E8%A1%A5%E5%85%A8%E5%AF%B9%E2%80%9Caws%20cli%E2%80%9D%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我使用brew
安装的 aws cli 后,消息形式如下brew
:
==> awscli
The "examples" directory has been installed to:
/usr/local/share/awscli/examples
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions and functions have been installed to:
/usr/local/share/zsh/site-functions
但是补全功能似乎不起作用。我甚至启动了一个新的 shell,但当我aws s3<TAB>
这样做时,我看到的只是本地文件列表。
编辑:
$ complete -p aws
bash: complete: aws: no completion specification