mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 20:02:16 +08:00
Refactor (docker): fix geometry on each interactive terminal alias
This commit is contained in:
parent
f06c62ed9c
commit
e8964b0dd0
@ -58,6 +58,7 @@ Defines [Docker][1] aliases and functions.
|
||||
- `dkCcp` Copy files/folders between a container and the local filesystem
|
||||
- `dkCd` Inspect changes on a container's filesystem
|
||||
- `dkCe` Run a command in a running container
|
||||
- `dkCE` Run an interactive command in a running container
|
||||
- `dkCin` Display detailed information on one or more containers
|
||||
- `dkCk` Kill one or more running containers
|
||||
- `dkCl` Fetch the logs of a container
|
||||
|
@ -35,8 +35,8 @@ alias dkph='docker push'
|
||||
alias dkps='docker ps'
|
||||
alias dkpsa='docker ps -a'
|
||||
alias dkr='docker run'
|
||||
alias dkR='docker run -it --rm'
|
||||
alias dkRe='docker run -it --rm --entrypoint /bin/bash'
|
||||
alias dkR='docker run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm'
|
||||
alias dkRe='docker run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm --entrypoint /bin/bash'
|
||||
alias dkRM='docker system prune'
|
||||
alias dkrm='docker rm'
|
||||
alias dkrmi='docker rmi'
|
||||
@ -59,6 +59,7 @@ alias dkCa='docker container attach'
|
||||
alias dkCcp='docker container cp'
|
||||
alias dkCd='docker container diff'
|
||||
alias dkCe='docker container exec'
|
||||
alias dkCE='docker container exec -e COLUMNS=`tput cols` -e LINES=`tput lines` -it'
|
||||
alias dkCin='docker container inspect'
|
||||
alias dkCk='docker container kill'
|
||||
alias dkCl='docker container logs'
|
||||
@ -70,8 +71,8 @@ alias dkCrn='docker container rename'
|
||||
alias dkCS='docker container restart'
|
||||
alias dkCrm='docker container rm'
|
||||
alias dkCr='docker container run'
|
||||
alias dkCR='docker container run -it --rm'
|
||||
alias dkCRe='docker container run -it --rm --entrypoint /bin/bash'
|
||||
alias dkCR='docker container run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm'
|
||||
alias dkCRe='docker container run -e COLUMNS=`tput cols` -e LINES=`tput lines` -it --rm --entrypoint /bin/bash'
|
||||
alias dkCs='docker container start'
|
||||
alias dkCss='docker container stats'
|
||||
alias dkCx='docker container stop'
|
||||
|
Loading…
Reference in New Issue
Block a user