Use the same current directory when opening a new tab or window