-
Notifications
You must be signed in to change notification settings - Fork 12
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
Failed to check if the command running in the current pane is helix #17
Comments
thanks, will look into it |
did it fail all times or only some times? |
was the helix pane next to the yazi pane? to the right of the yazi pane? |
Hm, here are reproduction steps:
Screencast.from.2024-08-29.11-32-33.webm
sometimes it success, but I does not know when |
Today, I cannot reproduce this by the mentioned method:
Screencast.from.2024-10-04.12-13-14.webmI don't know what are differences |
This is good, I guess. But nevertheless, I'll be switching the script from bash to nushell, and make it more sensible to detecting |
presumably fixed by #21 will re-open if anyone can reproduce this on v4.1 |
Again happens. Screencast.from.2024-10-06.09-47-09.webmMaybe it's because the machines I used are differences, but I am not sure. In any case, I've found an issue about zellji's |
Thank you i cannot reproduce, but will look into dump-layout... |
can you try this again running nushell? |
Changed the default shell to nushell by using To debug, I've added the next lines: echo $"(zellij action list-clients)\n" | save --append ~/.config/yazelix/log
echo $"running_command: ($running_command)\n\n" | save --append ~/.config/yazelix/log And here are the logs:
|
And (edited) |
I see... funky business.. try this: let list_clients_output = (zellij action list-clients | lines | get 1)
# Check if the command running in the current pane is hx
if (is_hx_running $list_clients_output) { if it works, I'll update the code |
It perfectly works, thank you! |
awesome! I will further refine it before updating the code hopefully I'll still count on your testing before committing the change |
allright, i've commited some code to the main branch should be working now if it is, i will close this |
I will also test it out and will let you know. |
Hello @mohsini172 , I am curious about whether the bug fix worked properly.. Did you get to try it? |
I just tested it with |
Cool thanks, what about you @lens0021 ? |
LGTM |
Awesome! I am then closing this issue. This will be the last time I commit directly to main.. I will create contributing guidelines and add them to the readme thanks for the help everyone |
yazelix/yazi/open_file.sh
Line 10 in 8a67572
When I tested,
zellij action list-clients
is:so
for me.
dnf
The text was updated successfully, but these errors were encountered: