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.


Credit here

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