Skip to content

Instantly share code, notes, and snippets.

View pankesh's full-sized avatar

Pankesh Contractor pankesh

View GitHub Profile
#!/bin/bash
while [[ $# -gt 1 ]]
do
case "$1" in
-f | --file)
file="$2"
shift 2
;;
-h | --hostname)
#!/bin/bash
# Installation:
# 1. Save this script to /some/bin/cf-ssh-background
# 2. chmod 755 /some/bin/cf-ssh-background
# 3. alias cfssh=/some/bin/cf-ssh-background
# 4. Configure your host colors below.
set_color() {
local HEX_FG=$1
local HEX_BG=$2