diff --git a/docker.mk b/docker.mk index d131cc1344..303fbecc6d 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 drush: docker exec $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") drush -r $(DRUPAL_ROOT) $(filter-out $@,$(MAKECMDGOALS))