Skip to content

Color IRB prompts based on environment#9592

Merged
zachmargolis merged 2 commits intomainfrom
margolis-color-irb-prompt
Nov 15, 2023
Merged

Color IRB prompts based on environment#9592
zachmargolis merged 2 commits intomainfrom
margolis-color-irb-prompt

Conversation

@zachmargolis
Copy link
Contributor

Follow-up to #9585. Open to suggestions on what color things should be! The only one I feel strongly about is that prod is red.

screenshot
Screenshot 2023-11-14 at 2 00 36 PM

**Why**: Add additional clarity

changelog: Internal, Console, Update console prompt to include environment name
Copy link
Contributor

@matthinz matthinz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe yellowy-orange for staging? '\e[33m#{str}\e[0m'? Not a strongly held opinion though. Thank you for doing this!

Co-authored-by: Matt Hinz <matthinz@users.noreply.github.com>
@zachmargolis
Copy link
Contributor Author

Maybe yellowy-orange for staging? '\e[33m#{str}\e[0m'?

so shall it be! updated in 1d0eee6

screenshot
Screenshot 2023-11-14 at 5 36 36 PM

@zachmargolis zachmargolis merged commit be9692f into main Nov 15, 2023
@zachmargolis zachmargolis deleted the margolis-color-irb-prompt branch November 15, 2023 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants