mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Add Cygwin support to web_search
This commit is contained in:
parent
96e4e5dd03
commit
d79fd70a78
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue