<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pihero</author_name>
  <author_url>https://blog.hatena.ne.jp/pihero/</author_url>
  <blog_title>pihero's blog</blog_title>
  <blog_url>https://pihero.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>dotfiles の管理に最近 chezmoi を使うようになった。dotfile 以外にも、macOS の user defaults を設定するスクリプトなどもマシン間で共有できるようにしておきたい。今まではセットアップや設定を変更した際にスクリプトを実行していたが、chezmoi は run_ run_onchange_ run_once_ の prefix のスクリプトを用意しておけば、chezmoi apply で一緒に実行してくれるので、この機能を使うことにした。初期設定をする際は必ず chezmoi apply を実行するため、手間が省ける。 設定を変更したら常に最新の設定を反映…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpihero.hatenadiary.jp%2Fentry%2F2025%2F01%2F26%2F130123&quot; title=&quot;chezmoi で macOS の user defaults も管理する - pihero&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>2025-01-26 13:01:23</published>
  <title>chezmoi で macOS の user defaults も管理する</title>
  <type>rich</type>
  <url>https://pihero.hatenadiary.jp/entry/2025/01/26/130123</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
