<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tototoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/tototoshi/</author_url>
  <blog_title>tototoshi の日記</blog_title>
  <blog_url>https://tototoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>sbt</anon>
  </categories>
  <description>sbt は簡単にプロンプトが変えられることはご存知でしょうか。 build.sbt で shellPrompt を定義するだけです。 shellPrompt の型は SettingKey[State =&gt; String] なので := の右側には State =&gt; String という型の関数を定義します。 state ってなにって感じですが、簡単なものならとりあえず気にせずに設定できます。 固定の文字列を返すパターン shellPrompt := { state =&gt; &quot;( ﾟAﾟ )&gt; &quot; } 毎回変わるパターン shellPrompt := { state =&gt; (new java.ut…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftototoshi.hatenablog.com%2Fentry%2F20130621%2F1371743604&quot; title=&quot;sbt のプロンプトに git のブランチ名を表示させる - tototoshi の日記&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tototoshi/20130621/20130621004503.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-21 00:53:24</published>
  <title>sbt のプロンプトに git のブランチ名を表示させる</title>
  <type>rich</type>
  <url>https://tototoshi.hatenablog.com/entry/20130621/1371743604</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
