1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 06:40:07 +00:00

make this work in the git-for-windows SDK

Added an option for the msys value of $OSTYPE
This commit is contained in:
Mark Ingalls 2015-11-09 14:34:47 -07:00 committed by Marc Cornellà
parent a19ec1040e
commit 0a79f1e836

View file

@ -23,6 +23,7 @@ function open_command() {
darwin*) open_cmd="open" ;; darwin*) open_cmd="open" ;;
cygwin*) open_cmd="cygstart" ;; cygwin*) open_cmd="cygstart" ;;
linux*) open_cmd="xdg-open" ;; linux*) open_cmd="xdg-open" ;;
msys*) open_cmd="start" ;;
*) echo "Platform $OSTYPE not supported" *) echo "Platform $OSTYPE not supported"
return 1 return 1
;; ;;