Describe the problem or limitation you are having
On startup I'd like to load the session for the current directory if it exists or load the last session if it doesn't
Describe the solution you'd like
Either to add a new value for autoload_mode e.g. CurrentDirThenLast to specify this behaviour or to make autoload_mode be an ordered list where each startup options is tried in turn until one succeeds.
Describe alternatives you've considered
n/a
Additional context
I'm just about to go on holiday but I'd be happy to contribute a pull request when I get back if that helps.
Describe the problem or limitation you are having On startup I'd like to load the session for the current directory if it exists or load the last session if it doesn't
Describe the solution you'd like Either to add a new value for autoload_mode e.g. CurrentDirThenLast to specify this behaviour or to make autoload_mode be an ordered list where each startup options is tried in turn until one succeeds.
Describe alternatives you've considered n/a
Additional context I'm just about to go on holiday but I'd be happy to contribute a pull request when I get back if that helps.