diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh index 371e3a303..259d15d33 100644 --- a/plugins/web-search/web-search.plugin.zsh +++ b/plugins/web-search/web-search.plugin.zsh @@ -5,6 +5,8 @@ function web_search() { local open_cmd if [[ "$OSTYPE" = darwin* ]]; then open_cmd='open' + elif [[ "$OSTYPE" = cygwin ]]; then + open_cmd='cygstart' else open_cmd='xdg-open' fi