98
98
<div class="section" id="workon">
99
99
<h2>ディレクトリへ移動したときに自動的に workon を実行する<a class="headerlink" href="#workon" title="Permalink to this headline">¶</a></h2>
100
<p><tt class="docutils literal"><span class="pre">cd</span></tt> を実行する毎にそのディレクトリでシェル環境を調べるように追加したコードを <a class="reference external" href="http://justinlilly.com/blog/2009/mar/28/virtualenv-wrapper-helper/">Justin Lily が投稿しました</a> 。 <tt class="docutils literal"><span class="pre">.venv</span></tt> ファイルを見つけたら、そのファイルに含まれる環境の名前でアクティブ化します。そのディレクトリから移動すると、カレントの仮想環境は自動的に非アクティブ化します。</p>
100
<p><tt class="docutils literal"><span class="pre">cd</span></tt> を実行する毎にそのディレクトリでシェル環境を調べるように追加したコードを <a class="reference external" href="http://justinlilly.com/python/virtualenv_wrapper_helper.html">Justin Lily が投稿しました</a> 。 <tt class="docutils literal"><span class="pre">.venv</span></tt> ファイルを見つけたら、そのファイルに含まれる環境の名前でアクティブ化します。そのディレクトリから移動すると、カレントの仮想環境は自動的に非アクティブ化します。</p>
101
101
<p><a class="reference external" href="http://www.blogger.com/profile/17141199633387157732">Harry Marr</a> は <a class="reference external" href="http://hmarr.com/2010/jan/19/making-virtualenv-play-nice-with-git/">git リポジトリ</a> で動作するよく似た機能を書きました。</p>
103
103
<div class="section" id="id3">