Retain current working directories when a new tab is opened

Retain current working directories when a new tab is opened in the terminal