Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

shy_azusa shyazusa

🎯
Focusing
View GitHub Profile
@BugRoger
BugRoger / ssh-background
Created Jan 21, 2011
Changes iTerm2's background color based on host configuration
View ssh-background
#!/bin/bash
# Installation:
# 1. Save this script to /some/bin/ssh-background
# 2. chmod 755 /some/bin/ssh-background
# 3. alias ssh=/some/bin/ssh-background
# 4. Configure your host colors below.
set_color() {
local HEX_FG=$1
local HEX_BG=$2
You can’t perform that action at this time.