From 3c57a2e6663c7584ea1c09190bc89ea311c72998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20=C5=81ukaszewicz?= Date: Wed, 9 Oct 2019 10:44:08 +0200 Subject: [PATCH] Add reload bash --- mage2docker.plugin.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mage2docker.plugin.zsh b/mage2docker.plugin.zsh index 9cd349b..57971dc 100644 --- a/mage2docker.plugin.zsh +++ b/mage2docker.plugin.zsh @@ -84,10 +84,10 @@ mage2docker () { docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u magento $1 ash -l ;; bash) - docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u root $1 bash + docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u root $1 bash -l ;; bash-www) - docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash + docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash -l ;; magento) docker exec -it -u www-data $1 bin/magento @@ -149,7 +149,7 @@ mage2docker () { if [ ! "$1" ]; then docker ps else - docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash + docker exec -it -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -u www-data $1 bash -l fi ;; esac