sorin-ionescu/oh-my-zsh — pull request #79 by jdodds (2012-03-31 14:30:13+00:00)
Title: xdg-open calls $BROWSER if set and it's not in a "known" DE

.And this causes a fork bomb for people like me who run minimal-distros.

This is probably a crappy way of setting it, since I'm not a zsh guru, but it uses xdg-setings to pull the default browser. It'll get set to an empty string if it's not set, and xdg-open will do "the right thing" in that case, trying some known values.