Skip to content

Instantly share code, notes, and snippets.

@matsu-chara
matsu-chara / ssh-host-color.sh
Last active February 10, 2017 03:18 — forked from themoriarty/ssh-host-color.sh
iterm2 version 3.0.0 fix error `44:52: syntax error: end of line があるべきところですが identifier が見つかりました。 (-2741)`
#!/bin/bash
# https://gist.github.com/themoriarty/584b759513c5c5864dac
#
# (1) copy to: ~/bin/ssh-host-color
# (2) set: alias ssh=~/bin/ssh-host-color
#
# Inspired from http://talkfast.org/2011/01/10/ssh-host-color
# Fork from https://gist.github.com/773849
#