-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses open(1) if on OS X, xdg-open(1) or cygstart(1) if either is available, and prefers $BROWSER above all else.
- Loading branch information
Showing
1 changed file
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It seems that the documentation & code mis-match?
The documenation says that hub tries finding the 'magic' commands first, and failing that, use
$BROWSER
.The code checks
$BROWSER
first, then looks for the 'magic' commands.Personally, I'd like to to try searching for open/xdg-open/cygstart first (rearranging the if-stack)