Closed cschmatzler closed 5 months ago
Hi and thanks a lot for the detailed bug report. I think this is an error in zellij and not zjstatus.
When I try your layout, the following log lines appear when running the command.
This hints at some inconsistent behaviour when resolving the $HOME
environment variable.
If I test your layout with an absolute path or ~
instead of $HOME
, it seems to work.
https://github.com/dj95/zjstatus/assets/4348959/876628e0-cde1-4b12-a9c6-9adf1d50aeec
Can you test this please?
Hey @dj95, thanks for the swift reply! Replacing $HOME
with ~
in the layout worked. I'll recreate this bug in the zellij repo then, sorry for misplacing it :)
No worries, at first glance it looked like an issue in zjstatus. I'm glad that it works for you :) In addition, I addressed the issue and asked about it in the zellij discord.
Describe the bug When running
zellij action new-tab
with-l
and-c
set, zjstatus fails to start.To Reproduce My settings:
config.kdl
layouts/zjstatus.kdl
When running:
zellij action new-tab -l zjstatus -c ~/Development/personal/turboprop/
The new tab is opened with the correct working directory, but zjstatus fails to start.
Interestingly, I cannot find any entry about this in the zellij logs.
Expected behavior zjstatus starts.
Screenshots See above.
Desktop (please complete the following information):
Layout
How does the layout look like? Please copy it into a code block.
See above.
Cheers