macOS 下 docker 命令自动补全
2020-09-18 本文已影响0人
夙小叶
截屏2020-09-18 下午2.51.42.png
复制 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: