Browse Source

make this work in the git-for-windows SDK

Added an option for the msys value of $OSTYPE
Mark Ingalls 9 years ago
parent
commit
0a79f1e836
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/functions.zsh

+ 1 - 0
lib/functions.zsh

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