We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash_completion
yum install bash_completion
sudo curl -L https://raw.githubusercontent.com/docker/docker/v$(docker version -f "{{.Client.Version}}")/contrib/completion/bash/docker -o /etc/bash_completion.d/docker
sudo curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
vim ~/.bash_profile # 添加如下内容 [ -f /etc/bash_completion.d ] && . /etc/bash_completion.d
source ~/.bash_profile
The text was updated successfully, but these errors were encountered:
yum install bash-completion
Sorry, something went wrong.
No branches or pull requests
安装
bash_completion
安装docker命令自动补全
sudo curl -L https://raw.githubusercontent.com/docker/docker/v$(docker version -f "{{.Client.Version}}")/contrib/completion/bash/docker -o /etc/bash_completion.d/docker
安装docker-compose命令自动补全
sudo curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
修改~/.bash_profile
设置使其生效
The text was updated successfully, but these errors were encountered: