Open barrydevp opened 2 months ago
correct me if I'm wrong, but I think we should return the found session config command here and pass it to connect
function.
https://github.com/joshmedeski/sesh/blob/fe6e6a65d8cb9dbc2f0ab5abdbe15351c5504d96/session/determine.go#L16C4-L20C5
I am actively reworking the connect logic to handle this situation, thanks for flagging this. The first version of sesh was very much dependent on determining the path first, so this new config pattern breaks that pattern.
I'll be sure to mark this issue closed when I complete the work.
What happened?
When I config some sessions with the same path directory:
I expected
update nvim
andupdate all
to run their own session but onlyupdate nvim
was executed regardless of session!Version
1.1.0
Relevant log output
No response
Reviewed