Gunnar Morling 1/5/2023

Oh... This is Prod?!

Read Original

This technical article explains how to configure iTerm2 and zsh to visually indicate your active AWS profile (e.g., dev or prod) by changing the terminal's background color. It details using the AWS_PROFILE environment variable and a zsh precmd hook to send escape sequences, reducing the risk of running commands in the wrong environment.

Oh... This is Prod?!

Comments

No comments yet

Be the first to share your thoughts!