pressing 'o' makes lazygit hang
DanViTrinh opened this issue · comments
Describe the bug
When pressing 'o' to open a file lazygit hangs.
To Reproduce
Steps to reproduce the behavior:
- Open lazygit
- press 'o' on a random file
- lazygit then hangs
Expected behavior
The file gets opened with xdg-open
Screenshots
2024-04-29_21-14-18.mp4
Running bash -c xdg-open "..." returns as follows and does not open anything.
Version info:
Run lazygit --version
and paste the result here
commit=v0.41.0, build date=2024-03-23T09:30:36Z, build source=binaryRelease, version=0.41.0, os=linux, arch=amd64, git version=2.44.0
Run git --version
and paste the result here
git version 2.44.0
Are the files behind a symlink or are they symlinks themselves?
they are symlinks themselves.
And does bash -c "xdg-open /home/dan/.dotfiles/.config/lazygit/config.yml"
work as expected? (note the quotes)
yes that works as expected
Are the files behind a symlink or are they symlinks themselves?
Opening a file that is not a symlink works, but lazygit crashes when it's a symlink.
Huh that's odd, I can open both regular files and symlinks without issues.