keep the current directory when create new window or pane.