make this work in the git-for-windows SDK

Added an option for the msys value of $OSTYPE
master
Mark Ingalls 11 years ago committed by Marc Cornellà
parent a19ec1040e
commit 0a79f1e836
  1. 1
      lib/functions.zsh

@ -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
;; ;;

Loading…
Cancel
Save