iTermで新しいタブを開いた時に以前のディレクトリを自動で開けるようにする
iTermで新しいタブを開いた時に以前のディレクトリを自動で開く方法をご紹介します。
GUIで設定できることを意外と知らなかったので残しておきます。とても簡単に設定できます。
設定方法
設定画面を開く。

Profilesを開いて、Working Directoryを「Resuse previous session's directory」に変更する。

新規タブに以前のディレクトリが引き継がれていることが確認できます。

以上です。