File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ The following browsers (or commands) are currently supported:
35
35
* open (this is the default under Mac OS X GUI)
36
36
* start (this is the default under MinGW)
37
37
* cygstart (this is the default under Cygwin)
38
+ * xdg-open
38
39
39
40
Custom commands may also be specified.
40
41
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ valid_tool() {
34
34
firefox | iceweasel | seamonkey | iceape | \
35
35
chrome | google-chrome | chromium | chromium-browser | \
36
36
konqueror | opera | w3m | elinks | links | lynx | dillo | open | \
37
- start | cygstart)
37
+ start | cygstart | xdg-open )
38
38
;; # happy
39
39
* )
40
40
valid_custom_tool " $1 " || return 1
112
112
113
113
if test -z " $browser " ; then
114
114
if test -n " $DISPLAY " ; then
115
- browser_candidates=" firefox iceweasel google-chrome chrome chromium chromium-browser konqueror opera seamonkey iceape w3m elinks links lynx dillo"
115
+ browser_candidates=" firefox iceweasel google-chrome chrome chromium chromium-browser konqueror opera seamonkey iceape w3m elinks links lynx dillo xdg-open "
116
116
if test " $KDE_FULL_SESSION " = " true" ; then
117
117
browser_candidates=" konqueror $browser_candidates "
118
118
fi
@@ -179,7 +179,7 @@ konqueror)
179
179
;;
180
180
esac
181
181
;;
182
- w3m|elinks|links|lynx|open|cygstart)
182
+ w3m|elinks|links|lynx|open|cygstart|xdg-open )
183
183
" $browser_path " " $@ "
184
184
;;
185
185
start)
You can’t perform that action at this time.
0 commit comments