diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh index 28559deb9..28f03f6e4 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 [[ $(uname -s) == CYGWIN* ]]; then + open_cmd='cygstart' else open_cmd='xdg-open' fi