复制 docker-compose.bash-completion
和 docker.bash-completion
到 /usr/local/etc/bash_completion.d/
下
/Applications/Docker.app/Contents/Resources/etc
docker-compose.bash-completion docker-compose.zsh-completion docker.fish-completion
docker-compose.fish-completion docker.bash-completion docker.zsh-completion
支持 bash、zsh、fish,按需复制
REF:
网友评论