configurable new windows and panes behavior (optionnally retain current path)