From 8ef94c3cfd26570f723e8d35c744d21858713e0f Mon Sep 17 00:00:00 2001 From: Draniu Date: Mon, 16 Apr 2018 10:50:05 +0200 Subject: [PATCH] workaround bash size for container build externally --- mage2docker.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mage2docker.plugin.zsh b/mage2docker.plugin.zsh index 70f116b..e93eb7e 100644 --- a/mage2docker.plugin.zsh +++ b/mage2docker.plugin.zsh @@ -137,7 +137,7 @@ mage2docker () { if [ ! "$1" ]; then docker ps else - docker exec -it -u www-data $1 bash + docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash fi ;; esac