[FEATURE] Default open last used session / Open session if there's only 1 linked to dir
Status Open
Maintainer reply None cached
Activity 0 comments · opened Oct 3, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I think we all know this, open your terminal "cd" in the directory type in claude and we landing inside a blank page. This makes sense if there are more then one sessions associated with this directory but this is not always the case. You need to take the steps through the /resume page to get your sessions reopend.
Proposed Solution
A simple solution is, if theres only one session to automatically reopen it, if claude code was opened inside this dir.
It would be also simple, to just reopen the last opened session associated to this directory.
Alternative Solutions
--resume
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_