1

I'm trying to run the command

git-hub-browse

but I keep getting the error

browser not set or set to a non-existent browser.

When I check my default browser:

 sudo update-alternatives --config x-www-browser

I see:

Selection    Path                           Priority   Status
------------------------------------------------------------
* 0            /usr/bin/google-chrome-stable   200       auto mode
  1            /usr/bin/firefox                40        manual mode
  2            /usr/bin/google-chrome-stable   200       manual mode

how can I get prezto to open github using my default browser?

1 Answers1

2

It looks like prezto is relying on $BROWSER environment variable. Try to set it:

export BROWSER=google-chrome-stable
svlasov
  • 9,923
  • 2
  • 38
  • 39
  • that worked- thanks! in which file did that get saved? –  May 13 '15 at 18:47
  • It will be gone after you close terminal. You can put that line into `~/.profile` or `~/.zshrc` or `~/.zprofile` to get it permanent. – svlasov May 13 '15 at 18:50