Color Coded iTerm2 Windows
As a systems administrator, I often have many many terminal windows open. To help ensure I am fully aware of which of them are on Production hosts, I color code them.
I have finally taken that bit of helpful code and made it as easy for you, dear reader, to use: TimidRobot/painted-iterm.
Some of the neat things I learned about during the course of this project:
- 256 terminal colors
- Bash
- PROMPT_COMMAND
- clean/simple way to remove leading zeros
- SSH LocalCommand
Copyright © 2014 Timid Robot Zehta. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.