<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bearmini</author_name>
  <author_url>https://blog.hatena.ne.jp/bearmini/</author_url>
  <blog_title>bearmini's blog</blog_title>
  <blog_url>https://bearmini.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>git</anon>
  </categories>
  <description>以前はgit-completionパッケージをインストールして/etc/bash_completionをsourceすればよかっただけのような気がするのですが、最近はこれだとgitコマンドの補完は効くけどプロンプトに表示する__git_ps1が定義されていないようです。解決策としては、GitHub上のgitのリポジトリにある/contrib/completion/git-prompt.shを使う必要があるようです。GitHub - git/git: Git Source Code Mirror - This is a publish-only repository and all pull r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbearmini.hatenablog.com%2Fentry%2F2015%2F02%2F18%2F113748&quot; title=&quot;最近のCygwinでbashのプロンプトにgitのブランチ名を表示する方法 - bearmini&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>http://ecx.images-amazon.com/images/I/51jyqu0YdsL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-18 11:37:48</published>
  <title>最近のCygwinでbashのプロンプトにgitのブランチ名を表示する方法</title>
  <type>rich</type>
  <url>https://bearmini.hatenablog.com/entry/2015/02/18/113748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
