summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
authorMark Ingalls <mark@assemblesystems.com>2015-11-09 14:34:47 -0700
committerMarc Cornellà <marc.cornella@live.com>2015-11-30 21:01:15 +0100
commit0a79f1e836d6096ec67deabca8105f60b124cbbe (patch)
tree2f8662115538c91928b33dede9f01144d94ae17d /lib/functions.zsh
parenta19ec1040e20e76baf9ff4f6024d511edda3293e (diff)
downloadzsh-0a79f1e836d6096ec67deabca8105f60b124cbbe.tar.gz
zsh-0a79f1e836d6096ec67deabca8105f60b124cbbe.tar.bz2
zsh-0a79f1e836d6096ec67deabca8105f60b124cbbe.zip
make this work in the git-for-windows SDK
Added an option for the msys value of $OSTYPE
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r--lib/functions.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index ec6f37214..1623df2bd 100644
--- a/lib/functions.zsh
+++ b/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
;;