<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inarizuuuushi</author_name>
  <author_url>https://blog.hatena.ne.jp/inarizuuuushi/</author_url>
  <blog_title>Sabrou-mal サブロウ丸</blog_title>
  <blog_url>https://inarizuuuushi.hatenablog.com/</blog_url>
  <categories>
    <anon>Linuxコマンド</anon>
    <anon> python </anon>
  </categories>
  <description>あえてターミナルから辞書を開く必要はないと思いますが、今日はその方法を紹介します。 単純な方法 ホームディレクトリの.bashrcを開いて dict(){ open dict://$1 } を追記して保存する。 すると、例えばdict appleと入力すると、辞書appのappleのページが表示されます。 ちょとだけめんどくさい方法 ターミナル上に辞書の検索結果を表示したい時はもう少し工夫(というよりは作業)が必要になります。 まず以下のスクリプトをホームディレクトリ上に保存します。 (ただしpyobjcをインストールしておく必要があります ) pip3 install pyobjc (ちなみ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2016%2F12%2F01%2F080354&quot; title=&quot;【Mac】ターミナルで辞書を表示 - Sabrou-mal サブロウ丸&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>2016-12-01 08:03:54</published>
  <title>【Mac】ターミナルで辞書を表示</title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2016/12/01/080354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
