File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ The following browsers (or commands) are currently supported:
34
34
* dillo
35
35
* open (this is the default under Mac OS X GUI)
36
36
* start (this is the default under MinGW)
37
+ * cygstart (this is the default under Cygwin)
37
38
38
39
Custom commands may also be specified.
39
40
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ valid_custom_tool()
32
32
valid_tool () {
33
33
case " $1 " in
34
34
firefox | iceweasel | seamonkey | iceape | \
35
- chrome | google-chrome | chromium | chromium-browser |\
36
- konqueror | opera | w3m | elinks | links | lynx | dillo | open | start)
35
+ chrome | google-chrome | chromium | chromium-browser | \
36
+ konqueror | opera | w3m | elinks | links | lynx | dillo | open | \
37
+ start | cygstart)
37
38
;; # happy
38
39
* )
39
40
valid_custom_tool " $1 " || return 1
@@ -127,6 +128,10 @@ if test -z "$browser" ; then
127
128
if test -x /bin/start; then
128
129
browser_candidates=" start $browser_candidates "
129
130
fi
131
+ # /usr/bin/cygstart indicates Cygwin
132
+ if test -x /usr/bin/cygstart; then
133
+ browser_candidates=" cygstart $browser_candidates "
134
+ fi
130
135
131
136
for i in $browser_candidates ; do
132
137
init_browser_path $i
@@ -174,7 +179,7 @@ konqueror)
174
179
;;
175
180
esac
176
181
;;
177
- w3m|elinks|links|lynx|open)
182
+ w3m|elinks|links|lynx|open|cygstart )
178
183
" $browser_path " " $@ "
179
184
;;
180
185
start)
You can’t perform that action at this time.
0 commit comments