From 8e03f105b0a055fa36bb85e0d10dfd519313a7ac Mon Sep 17 00:00:00 2001 From: William Valentin Date: Mon, 28 Jul 2025 12:37:04 -0700 Subject: [PATCH] Add SHELL variable and update shell command in Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d22036..547f9e4 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ TARGET=thechart VERSION=1.0.0 ROOT=/home/will ICON=chart-671.png +SHELL=/bin/fish help: ## Show this help @grep -E -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' install: ## Set up the development environment @@ -46,7 +47,7 @@ attach: ## Open a shell in the container docker-compose exec -it ${TARGET} /bin/bash shell: ## Open a shell in the local environment @echo "Opening a shell in the local environment..." - eval (poetry env activate) + ${SHELL} -c "eval (poetry env activate)" requirements: ## Export the requirements to a file @echo "Exporting requirements to requirements.txt..." poetry export --without-hashes -f requirements.txt -o requirements.txt