mirror of https://github.com/ohmyzsh/ohmyzsh.git
Merge a1c5304a65
into 6e9cda3d30
This commit is contained in:
commit
cbc61c81a5
|
@ -79,3 +79,9 @@ zstyle ':omz:plugins:docker' legacy-completion yes
|
|||
| dvprune | `docker volume prune` | Cleanup dangling volumes |
|
||||
| dxc | `docker container exec` | Run a new command in a running container |
|
||||
| dxcit | `docker container exec -it` | Run a new command in a running container in an interactive shell |
|
||||
| ddeng | `docker desktop engine` | Commands to list and switch containers (Windows only) |
|
||||
| ddres | `docker desktop restart` | Restart Docker Desktop |
|
||||
| ddst | `docker desktop start` | Start Docker Desktop |
|
||||
| ddsts | `docker desktop status` | Display Docker Desktop's status |
|
||||
| ddstp | `docker desktop stop` | Stop Docker Desktop |
|
||||
| ddver | `docker desktop version` | Show the Docker Desktop version information |
|
||||
|
|
|
@ -34,6 +34,13 @@ alias dvls='docker volume ls'
|
|||
alias dvprune='docker volume prune'
|
||||
alias dxc='docker container exec'
|
||||
alias dxcit='docker container exec -it'
|
||||
alias ddeng='docker desktop engine'
|
||||
alias ddres='docker desktop restart'
|
||||
alias ddst='docker desktop start'
|
||||
alias ddsts='docker desktop status'
|
||||
alias ddstp='docker desktop stop'
|
||||
alias ddver='docker desktop version'
|
||||
|
||||
|
||||
if (( ! $+commands[docker] )); then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue