<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikeas</author_name>
  <author_url>https://blog.hatena.ne.jp/ikeas/</author_url>
  <blog_title>ikeas's blog</blog_title>
  <blog_url>https://ikeas.hatenablog.com/</blog_url>
  <categories>
    <anon>Tips</anon>
    <anon>Mac</anon>
  </categories>
  <description>プロダクション環境にログインしたときなど、注意したいときのために、iTerm2の背景色を変える方法について。元ネタ: https://gist.github.com/956095さらに、Terminal向けの元ネタがどこかにあったはずなので、Terminalでも同様のことができる。元ネタではスクリプト化しているが、管理が面倒なので.zshrcで済ませてしまう。 また、スクリプト内にホスト名などを埋め込みたくないので、 別ファイルにして管理する。.zshrcに以下の関数を定義 if [[ x$TERM_PROGRAM = xiTerm.app ]]; then set_term_bgcolor(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikeas.hatenablog.com%2Fentry%2F2012%2F10%2F01%2F215406&quot; title=&quot; 特定のホストにSSHしたときに色を変える - ikeas&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-10-01 21:54:06</published>
  <title> 特定のホストにSSHしたときに色を変える</title>
  <type>rich</type>
  <url>https://ikeas.hatenablog.com/entry/2012/10/01/215406</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
