<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitode909</author_name>
  <author_url>https://blog.hatena.ne.jp/hitode909/</author_url>
  <blog_title>hitode909の日記</blog_title>
  <blog_url>https://blog.sushi.money/</blog_url>
  <categories>
  </categories>
  <description>複数の端末でシェルの設定ファイル(.zshrcなど)を使い回したいとき，特定のOSに依存した設定を書いてしまうと，その他のOSで正しく動作しない場合がある． OSに依存した設定内容はファイルに切り出し，unameに合わせて，適切な設定ファイルを読むようにすればよい． .zshrc if [ -f ~/.zshrc.`uname` ] then source ~/.zshrc.`uname` fi .zshrc.Darwin echo &quot;Darwin now&quot; alias emacs=&quot;open -a Emacs&quot; fmount() { echo &quot;mounting $1&quot; osascript …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.sushi.money%2Fentry%2F20090620%2F1245475312&quot; title=&quot;OSに合わせてシェルの設定を変える - hitode909の日記&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>2009-06-20 14:21:52</published>
  <title>OSに合わせてシェルの設定を変える</title>
  <type>rich</type>
  <url>https://blog.sushi.money/entry/20090620/1245475312</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
