Commit c4588509 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Add support for cygwin open in web-search plugin

parent adaea31c
...@@ -16,6 +16,7 @@ function web_search() { ...@@ -16,6 +16,7 @@ function web_search() {
# define the open command # define the open command
case "$OSTYPE" in case "$OSTYPE" in
darwin*) open_cmd="open" ;; darwin*) open_cmd="open" ;;
cygwin*) open_cmd="cygstart" ;;
linux*) open_cmd="xdg-open" ;; linux*) open_cmd="xdg-open" ;;
*) echo "Platform $OSTYPE not supported" *) echo "Platform $OSTYPE not supported"
return 1 return 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment