Open new iTerm tab in the same folder

Many times a day I’m in iTerm and use the command+T shortcut to open a new tab. I want this tab to open in the same folder I’m in, not the root folder, so I then have to annoyingly navigate back to the folder from the previous tab.

But there’s an easy fix for this!

Under Settings in the Profile tab, in the Working Directory section, select the button for “Reuse previous session’s directory” and bingo! new tabs will open in the same folder from the previous tab.

Profile settings
advanced settings

You can customize further by clicking on “Advanced Configuration” -> “Edit”, which adds options for new tabs, new windows, and new split panes.

Awesome!

Credit here https://apple.stackexchange.com/questions/148508/how-to-open-a-new-tab-in-iterm-in-the-same-folder-as-the-one-that-is-open

Advertisements

Redact Text in Preview

So the simplest way to redact text in Preview is to cover it with a black box then to save it as an image file, so it is not editable.

  • Click on the Show Markup Toolbar
  • Click on the Shapes button, and select the square
  • Draw a box over the text you want to redact
  • Export as a image file. File -> Export -> (pick .tiff or .png)

Credit here