alanchrt / dotfiles

Fedora, GNOME, Doom Emacs, tmux, Zsh, and so much more
24 stars 0 forks source link

Add danger zone tmux behavior #172

Open alanchrt opened 2 years ago

alanchrt commented 2 years ago

I think it would be nice to look for a local file ~/.danger that could be executed while tmux runs. If it returned a non-zero exit status, the tmux status bar would flash on and off to red.

The use case is this: if I'm in production kubectl context or I'm in a production terraform workspace, I want to know, always. Warnings in the prompt are nice, but it would be hard to miss a flashing status line until I'd left the prod context.