SIGN IN SIGN UP

feat(session): record the workspace and cap stored sessions

Sessions never stored the directory they were started in, so the resume list
mixed every project, and nothing removed old files. save-session! now writes
:cwd (the process cwd unless the caller passes one) and deletes the oldest
files beyond MAX-SESSIONS (200). The prune reads metadata only when the
directory exceeds the cap, so an ordinary save costs one listing.
H
Helge Sverre committed
839ea9971f54aa61d959772aabcf98bddc301ebe
Parent: 075d69a