Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): measure cwd from cli client rather than the zellij server #1947

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Nov 16, 2022

Previously, we would measure the relative cwd (or the lack of cwd) given in a cli command from the zellij-server. This is not the correct behaviour and we should instead measure it from the CLI client.

If I do:

// /home/aram
$ zellij
$ cd code/zellij
$ zellij edit ../file.txt

I expect Zellij to open the editor to /home/aram/code/file.txt and not to /home/file.txt as we did until now.

@imsnif imsnif temporarily deployed to cachix November 16, 2022 14:57 Inactive
@imsnif imsnif temporarily deployed to cachix November 16, 2022 14:58 Inactive
@imsnif imsnif merged commit cc3ac25 into main Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant