Skip to content

Commit

Permalink
Merge pull request #8 from taurthil/master
Browse files Browse the repository at this point in the history
Add reload bash
  • Loading branch information
AdamHyski authored Oct 16, 2019
2 parents 35592c9 + 3c57a2e commit d1f333d
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 d1f333d

Please sign in to comment.