mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Docker-machine aliases
This commit is contained in:
parent
0b340bc3a5
commit
910b7e1a03
2 changed files with 21 additions and 0 deletions
2
plugins/docker-machine/README.md
Normal file
2
plugins/docker-machine/README.md
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Docker-machine plugin for Oh my zsh
|
||||||
|
|
||||||
19
plugins/docker-machine/docker-machine.plugin.zsh
Normal file
19
plugins/docker-machine/docker-machine.plugin.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Authors:
|
||||||
|
# https://github.com/HaraldNordgren
|
||||||
|
#
|
||||||
|
# Docker-machine related zsh aliases
|
||||||
|
|
||||||
|
alias dm='docker-machine'
|
||||||
|
|
||||||
|
alias dmc='docker-machine create'
|
||||||
|
alias dmls='docker-machine ls'
|
||||||
|
alias dmrestart='docker-machine restart'
|
||||||
|
alias dmrm='docker-machine rm'
|
||||||
|
alias dmstart='docker-machine start'
|
||||||
|
alias dmstop='docker-machine stop'
|
||||||
|
alias dmst='docker-machine status'
|
||||||
|
|
||||||
|
function dmenv {
|
||||||
|
eval "$(docker-machine env $1)"
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue