jesseduffield / jesseduffield/lazygit
pressing 'o' makes lazygit hang
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
When pressing 'o' to open a file lazygit hangs.
**To Reproduce**
Steps to reproduce the behavior:
1. Open lazygit
2. press 'o' on a random file
3. lazygit then hangs
**Expected behavior**
The file gets opened with xdg-open
**Screenshots**
https://github.com/jesseduffield/lazygit/assets/80539964/92dd554d-6dad-470a-9d8c-71e65e367689
Running bash -c xdg-open "..." returns as follows and does not open anything.

Screenshot from debug:

**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
Contributor guide
Assessment
This issue has not been assessed yet.