jesseduffield / jesseduffield/lazygit

pressing "o" on branch name results in error `xdg-open: unexpected option -a`

Open
#4,998 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### Describe the bug

clicking `o` on branch name (open the PR/commit in browser) resulting in `xdg-open: unexpected option -a`

### To Reproduce
Steps to reproduce the behavior:

1. Go to **RemoteBranches**
2. Click `o` on any branch
3. See error

### Expected behavior

open browser

### Screenshots

Image

### Version info:

up to date ** Ubuntu 24.04**

```
lazygit -v
commit=, build date=, build source=Homebrew, version=0.55.1, os=linux, arch=amd64, git version=2.43.0

git -v
git version 2.43.0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.