diff --git a/modules/docker/alias.zsh b/modules/docker/alias.zsh index 0e3f41f1..bac81f62 100644 --- a/modules/docker/alias.zsh +++ b/modules/docker/alias.zsh @@ -164,7 +164,7 @@ alias dkc='docker-compose' alias dkcb='docker-compose build' alias dkcB='docker-compose build --no-cache' alias dkcd='docker-compose down' -alias dkce='docker-compose exec' +alias dkce='docker-compose exec -e COLUMNS=`tput cols` -e LINES=`tput lines`' alias dkck='docker-compose kill' alias dkcl='docker-compose logs' alias dkcL='docker-compose logs -f' @@ -174,8 +174,8 @@ alias dkcP='docker-compose unpause' alias dkcpl='docker-compose pull' alias dkcph='docker-compose push' alias dkcps='docker-compose ps' -alias dkcr='docker-compose run' -alias dkcR='docker-compose run --rm' +alias dkcr='docker-compose run -e COLUMNS=`tput cols` -e LINES=`tput lines`' +alias dkcR='docker-compose run -e COLUMNS=`tput cols` -e LINES=`tput lines` --rm' alias dkcrm='docker-compose rm' alias dkcs='docker-compose start' alias dkcsc='docker-compose scale'