Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7ecce1e82b
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.687 kB
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
export GEM_HOME='/usr/local/Cellar/gems/1.8'
function tabc {
NAME=$1; if [ -z "$NAME" ]; then NAME="ted"; fi
osascript -e "tell application \"Terminal\" to set current settings of front window to settings set \"$NAME\""
}
function ssh {
OLD_IFS="$IFS"
IFS="@"
parts=($@)
IFS="$OLD_IFS"
size=${#parts[@]}
# echo $size
let last=$size-1 # the 'let' is necessary for the math to work
# echo $last
server=${parts[$last]}
# echo $server
tabc "$server"
/usr/bin/ssh "$@"
tabc "ted"
}
Jump to Line
Something went wrong with that request. Please try again.