lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

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

Open tomashomey opened this issue 2 months ago • 2 comments

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

tomashomey avatar Oct 30 '25 10:10 tomashomey

Could you please also screenshot the command log?

It's under @.

And could you please post your config.yml since it can modify the os.open command?

mark2185 avatar Oct 30 '25 10:10 mark2185

here's my command log (sorrt had to trim the project name) Image

my .config/lazygit/config.yml is empty

Image

tomashomey avatar Oct 30 '25 10:10 tomashomey