Skip to content

Commit 7f6c142

Browse files
charlesastwoodmaxhelias
authored andcommitted
Update makefile.md
Add a `make bash` command to use a bash session so that the up and down arrows use previously used commands.
1 parent 4672d26 commit 7f6c142

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/makefile.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ logs: ## Show live logs
7070
sh: ## Connect to the FrankenPHP container
7171
@$(PHP_CONT) sh
7272

73+
bash: ## Connect to the FrankenPHP container via bash so up and down arrows go to previous commands
74+
@$(PHP_CONT) bash
75+
7376
test: ## Start tests with phpunit, pass the parameter "c=" to add options to phpunit, example: make test c="--group e2e --stop-on-failure"
7477
@$(eval c ?=)
7578
@$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c)

0 commit comments

Comments
 (0)