0a79f1e836d6096ec67deabca8105f60b124cbbe
- Author
- Mark Ingalls <mark@assemblesystems.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
make this work in the git-for-windows SDK
Added an option for the msys value of $OSTYPE
Diff
1diff --git a/lib/functions.zsh b/lib/functions.zsh
2index ec6f37214e51f72c0ffc5d7de565549a51431616..1623df2bde5bfd92713dad9007cbe90a103a4e6e 100644
3--- a/lib/functions.zsh
4+++ b/lib/functions.zsh
5@@ -23,6 +23,7 @@ function open_command() {
6 darwin*) open_cmd="open" ;;
7 cygwin*) open_cmd="cygstart" ;;
8 linux*) open_cmd="xdg-open" ;;
9+ msys*) open_cmd="start" ;;
10 *) echo "Platform $OSTYPE not supported"
11 return 1
12 ;;