Skip to content

Conversation

mikeland73
Copy link
Contributor

Summary

This improves the message we show when a package that has env vars is installed. It shows it in yellow at the very end always. It also joins the hash -r command so that it's a single command.

This is a stopgap until we have a better way to use update env variables while in shell. Once that is done, some of this change can be reverted. (we might also be able to remove the need for hash -r command by running it directly from devbox and/or only showing it when it actually needs to be run)

I also considered creating a global env file that sources all the env files but this would cause potential overwriting I didn't want.

How was it tested?

image

@mikeland73 mikeland73 requested review from loreto and savil January 11, 2023 01:26
@mikeland73 mikeland73 merged commit 15dff68 into main Jan 11, 2023
@mikeland73 mikeland73 deleted the landau/better-source-message branch January 11, 2023 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants