mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
feat(docker): add new aliases
Co-authored-by: Matthew Adams <matthew@matthewadams.me>
This commit is contained in:
parent
137c7e46bd
commit
3914197aa2
1 changed files with 7 additions and 0 deletions
|
@ -22,9 +22,16 @@ alias dpu='docker pull'
|
|||
alias dpsh='docker push'
|
||||
alias dr='docker container run'
|
||||
alias drit='docker container run -it'
|
||||
alias dritbash='docker run -it --entrypoint /bin/bash'
|
||||
alias dritp='docker container run -it -v $PWD:/pwd -w /pwd'
|
||||
alias dritprm='docker container run --rm -it -v $PWD:/pwd -w /pwd'
|
||||
alias dritsh='docker run -it --entrypoint /bin/sh'
|
||||
alias dritshp='docker run -it --entrypoint /bin/sh -v $PWD:/pwd -w /pwd'
|
||||
alias dritrm='docker container run --rm -it'
|
||||
alias drm='docker container rm'
|
||||
alias 'drm!'='docker container rm -f'
|
||||
alias 'drma!'='docker container ls -a -q | xargs docker container rm -f'
|
||||
alias drp='docker container run -v $PWD:/pwd -w /pwd'
|
||||
alias dst='docker container start'
|
||||
alias drs='docker container restart'
|
||||
alias dsta='docker stop $(docker ps -q)'
|
||||
|
|
Loading…
Reference in a new issue