Closed GravityShark0 closed 1 week ago
I have made a fork with a hack that sort of works so far in here. I don't expect it to be merged or anything since it seems v2 is a complete rewrite, but I would like to see it fixed in there so I thought of making an issue.
Hey, I do intend on v2 of Sesh being able to handle relative paths, thanks for the flagging this.
Can you upgrade and test this and tell me if it's working with Sesh v2?
I have upgraded and yes this now works in Sesh v2 from what I've tested.
By the way, I have commented on the previous issue about hiding to already attached sessions session (https://github.com/joshmedeski/sesh/issues/50#issuecomment-2330724158), because --hide-attached
no longer seems to have any effect in Sesh v2 but still is acceptable as an argument.
I don't know if I should create a new issue about this or reopen the previous one.
But I am closing this one as it seems fine so far.
What happened?
sesh connect
to a session which was made from a relative path that didnt have a zoxide entry beforeRecreation
Notes
foo
in step 2.sesh connect --command "tmux detach" foo
with its full path~/foo
or its absolute path/home/user/foo
makes it works correctly.go install github.com/joshmedeski/sesh@latest
and sesh 1.2.0 from GitHub ReleasesVersion
dev and 1.2.0
Relevant log output
2024/07/19 10:06:56 unable to connect to "foo": failed to add "/home/gravity/bar/foo" to zoxide: exit status 1
Reviewed