Skip to content

Instantly share code, notes, and snippets.

/* *******************************************
// LICENSE INFORMATION
// The code, "Detecting Smartphones Using PHP"
// by Anthony Hand, is licensed under a Creative Commons
// Attribution 3.0 United States License.
//
// Updated 01 March 2010 by Bryan J Swift
// - Remove un-needed if statements instead just returning the boolean
// inside the if clause
//
#/bin/sh
echo -e "\033]50;SetProfile=$1\a"
/usr/bin/ssh $*
echo -e "\033]50;SetProfile=Default\a"