<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aike</author_name>
  <author_url>https://blog.hatena.ne.jp/aike/</author_url>
  <blog_title>aike’s blog</blog_title>
  <blog_url>https://aike.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Ruby1.9がいよいよ安定してきたようで、そろそろ試さなくてはと思っています。でも、なんというか必要に迫られないのでなかなか全面的な導入に踏みきれません。というわけで、Rubyを1.9にするよう促すプロンプト設定を考えました。Rubyのバージョンがまだ1.8の場合、端末の右上に「アナログ」と表示されます。どうぞご利用ください。.bashrcの最後に以下の内容を書くと設定できます。 ruby -v | egrep '^ruby 1\.9' &gt;/dev/null if [ $? -ne 0 ]; then PS1=&quot;\033[s\033[1;72H\033[37mアナログ\033[39m\033…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faike.hatenablog.com%2Fentry%2F20090118&quot; title=&quot;Ruby1.9が入っていないと端末に「アナログ」と表示する.bashrc - aike’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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/aike/20090118/20090118231747.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-18 00:00:00</published>
  <title>Ruby1.9が入っていないと端末に「アナログ」と表示する.bashrc</title>
  <type>rich</type>
  <url>https://aike.hatenablog.com/entry/20090118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
