iTerm2 colouring for ssh connections from bash
Ported from Wadey's iTerm2 zsh script, but updated to colour entire terminal--not just tab. Made how to accomplish this obvious for tweaking
How to use:
- sort out where you want to want to store bash scripts--what follows uses $HOME/bin...
- download Bash preexec and install it to $HOME/bin
- source this script from profile.d
echo "source \$HOME/bin/bash-preexec.sh" >> $HOME/.profile.d/profile.sh
- download this script and install it to $HOME/bin
- source this script from profile.d
echo "source \$HOME/bin/iterm2.sh" >> $HOME/.profile.d/profile.sh
- make sure the bash scripts are executable
chmod 755 $HOME/bin/bash-preexec.sh $HOME/bin/iterm2.sh