You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hitting o while on the status pane to view my config hangs the app.
To Reproduce
Steps to reproduce the behavior:
Go to status pane
Hit o
Expected behaviour
Config displays
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Arch Linux
Lazydocker Version 0.3.0
Additional context
nvim seems to be the app xdg-open chooses to view the config.yml file. I can run xdg-open ~/.config/jesseduffield/lazydocker/config.yml (which seems to be the command lazydocker runs) in a shell to open the config file in nvim successfully. I can also hit e in lazydocker to edit the config and it opens for edit successfully. When I'm not on work hours I can play around with a development build and see if I can determine what is happening.
The text was updated successfully, but these errors were encountered:
Root of the issue is my xdg-open is choosing vim, and lazydocker by default routes the output to /dev/null. Running the command sh -c "xdg-open '/home/REDACTED/.config/jesseduffield/lazydocker/config.yml' >/dev/null" (which is what lazydocker chooses to run) causes the output:
Vim: Warning: Output is not to a terminal
Changing lazydocker's config to either remove the redirect to /dev/null or just open nvim {{filename}} results in the same. To get this to work I'd have to use the runSyncOrAsyncCommand similarly to gui.editFile.
Describe the bug
Hitting
o
while on the status pane to view my config hangs the app.To Reproduce
Steps to reproduce the behavior:
o
Expected behaviour
Config displays
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
nvim seems to be the app xdg-open chooses to view the config.yml file. I can run
xdg-open ~/.config/jesseduffield/lazydocker/config.yml
(which seems to be the command lazydocker runs) in a shell to open the config file in nvim successfully. I can also hite
in lazydocker to edit the config and it opens for edit successfully. When I'm not on work hours I can play around with a development build and see if I can determine what is happening.The text was updated successfully, but these errors were encountered: