iTerm open tab in current working directory

iTerm open tab in current working directory

Hold on Cowboy

This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.

I can’t believe I lived so long without looking for a fix to a common issue I have while in iTerm2. Maybe I’m running some GruntJS task that is updating the screen, but I want to do something in the CWD. So I would open another tab ⌘ + t, then cd ... to my cwd.

Instead just tell iTerm you want new tabs to open in the CWD.

  • Open up iTerm2 preferences ⌘ + ,
  • Go to Profiles > General
  • Now click on Edit under Advanced Configuration for Working Directory iterm
  • Now just select when you want it to open in the same directory like so iterm

Now you have an extra 10 seconds a day to do with whatever you want… live the freedom.