浏览代码

make this work in the git-for-windows SDK

Added an option for the msys value of $OSTYPE
Mark Ingalls 9 年之前
父节点
当前提交
0a79f1e836
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/functions.zsh

+ 1 - 0
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
               ;;
               ;;