<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rasukarusan</author_name>
  <author_url>https://blog.hatena.ne.jp/rasukarusan/</author_url>
  <blog_title>ハイパーマッスルエンジニア</blog_title>
  <blog_url>https://www.rasukarusan.com/</blog_url>
  <categories>
    <anon>ShellScript</anon>
  </categories>
  <description>zshの起動が遅い。tmuxでパネル分割したときやls打ったあとがもっさりしてきた。 自分のzsh環境はoh-my-zshやpreztoなどは使っていないプレーンなzsh環境だったが、PROMPT表示に用いるvcs_infoが遅かったので改善した。 vcs_info gitやsubversionなどのバージョン管理システムから情報を取得してくれる関数。プロンプトにブランチ名や状態を表示するのに利用する。 リポジトリ情報の表示。ブランチ名の表示と差分があると✗がつく。 vcs_infoを使ったリポジトリ情報の表示は.zshrcに下記のような記載をするだけだ。 # PROMPTテーマ setopt…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.rasukarusan.com%2Fentry%2F2022%2F09%2F04%2F120413&quot; title=&quot;zshが遅いのはvcs_infoが原因だったので高速化した - ハイパーマッスルエンジニア&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/r/rasukarusan/20220904/20220904121037.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-04 12:04:13</published>
  <title>zshが遅いのはvcs_infoが原因だったので高速化した</title>
  <type>rich</type>
  <url>https://www.rasukarusan.com/entry/2022/09/04/120413</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
