Skip to content

Commit

Permalink
Try again (env)
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent 7ca02b9 commit 7aa744c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ serve:
rm -f .tool-versions

@if [[ "$$SHELL" == *"bash"* ]]; then \
echo "bash"
eval "$$(~/.local/bin/mise activate bash)"; \
eval "$$(~/.local/bin/mise hook-env -s bash)"; \
eval "$$(mise env -s bash)" \
elif [[ "$$SHELL" == *"zsh"* ]]; then \
echo "zsh"
eval "$$(~/.local/bin/mise activate zsh)"; \
eval "$$(~/.local/bin/mise hook-env -s zsh)"; \
eval "$$(mise env -s zsh)"; \
fi

# initdb -D ~/pgdata -U postgres
Expand Down

0 comments on commit 7aa744c

Please sign in to comment.