diff --git a/docker.mk b/docker.mk index 7cd6ed02b..055a60f3c 100644 --- a/docker.mk +++ b/docker.mk @@ -25,7 +25,7 @@ ps: @docker ps --filter name='$(PROJECT_NAME)*' shell: - docker exec -ti $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") sh + docker exec -ti -e COLUMNS=$(shell tput cols) -e LINES=$(shell tput lines) $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") sh wp: docker exec $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") wp --path=$(WP_ROOT) $(filter-out $@,$(MAKECMDGOALS))