1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

Add support for cygwin open in web-search plugin

This commit is contained in:
Marc Cornellà 2014-12-27 02:56:30 +01:00
parent adaea31ca0
commit c45885093f

View file

@ -16,6 +16,7 @@ function web_search() {
# define the open command
case "$OSTYPE" in
darwin*) open_cmd="open" ;;
cygwin*) open_cmd="cygstart" ;;
linux*) open_cmd="xdg-open" ;;
*) echo "Platform $OSTYPE not supported"
return 1