-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement window cloning ability #24
Conversation
158b0dd
to
861c68f
Compare
I'm always getting the following log message (with/without
Also the working directory does not seem to be set on the new terminal :/ How can we debug this? |
Is it possible that your shell does not include |
And yes, please submit another PR after this for mentioning |
Can you provide the shell and distro you are using? It seems to be highly dependent on the distro and how vte/the shell are packed. You can find more information in Tilix' documentation. |
Distro: Arch Linux
I already sourced the vte script, is there anything else that I can try? |
What is the output of the following commands on your machine?
Also it will not work on alacritty, as it is not vte base as far as I know, the vte checks this at evaluation time. |
Maybe these sources are also helpful:
It should definitely be possible on Arch, but I am not sure how to debug this. |
Sorry for the late reply, I re-setup everything to confirm. Still no luck.
I checked out those links but everything seems good. So I'm not sure what else to check. But I realized something in the logs:
I was in |
Have you tried zsh? Just to verify if it is an issue with the implementation in kermit or with the shell. Must be a login shell though afaik (
Yes you are right. This also points to a misconfigured PROMPT_COMMAND. Sadly I am not to familiar with bash, as I am currently using zsh and this seems to be a point where the shells differ, so I am not of much help. I tried reproducing it with my local bash shell and indeed it does not work either. So maybe it is a bash issue? |
Any updates on this? |
I tried it now, unfortunately it didn't work as well. This time the logs were correct but the new terminal is not launched on that directory:
I sourced the |
I have improved the error logging, so it should output a reason for a failed |
This time I get:
|
Ok so there was indeed a bug in the EDIT: I hope it should work properly now at least for zsh. |
Yup, works for zsh now! 🥳 |
I think this is ready to go. But before that can you submit an issue about the bash issue that we're having with this functionality? I also took a look at this just now and I'm not sure why it doesn't work for me. Maybe someone that knows what's going on will show up and fix this in the future. |
Changed my mind, you already did a lot for this. I created the issue in #26 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your contribution and patience with this!
Thanks for reviewing and being open to contributions :) |
This implements window cloning as requested in #23.