<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eagletmt</author_name>
  <author_url>https://blog.hatena.ne.jp/eagletmt/</author_url>
  <blog_title>EAGLE 雑記</blog_title>
  <blog_url>https://eagletmt.hatenadiary.org/</blog_url>
  <categories>
    <anon>雑記</anon>
    <anon>UNIX</anon>
    <anon>zsh</anon>
  </categories>
  <description>Command-line-fu より。 Redefine the cd command's behavior Using cd これは俺も似たようなことをやっているなぁ。 俺の場合は function cd() { builtin cd $* &amp;&amp; ll } なんだけどね。 cd の次に ll を打つことが多くて、cd を置き換えられないのかなー、でもそうしたらもとの cd はどうやって呼べるのかなー、とか考えていたら、builtin で区別できることが判明してこれを書き加えた次第。 別の解決法としては chpwd() を使う手もある。これはカレントディレクトリが変化するたびに呼ばれるもの。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feagletmt.hatenadiary.org%2Fentry%2F20090306%2F1236345989&quot; title=&quot; cd を置き換える - EAGLE 雑記&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-03-06 22:26:29</published>
  <title> cd を置き換える</title>
  <type>rich</type>
  <url>https://eagletmt.hatenadiary.org/entry/20090306/1236345989</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
