Skip to content

Commit

Permalink
Add reload bash
Browse files Browse the repository at this point in the history
  • Loading branch information
taurthil committed Oct 9, 2019
1 parent 482f7f8 commit 3c57a2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mage2docker.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3c57a2e

Please sign in to comment.