summaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-13 14:01:15 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-13 14:01:15 +0300
commitd9c3fce01238eafd9e749c12b37c44c290ad95b8 (patch)
treec016b537ab88768484b90933d6518c09ba7bd0cb /gitstatus/gitstatus.plugin.zsh
parent3cc231ea9c1f30317c24f7d40e0e0ef431af2a57 (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r--gitstatus/gitstatus.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 6287798f..842a34d5 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -367,7 +367,7 @@ function gitstatus_start() {
[[ -n $daemon ]] || {
os="$(uname -s)" && [[ -n $os ]]
[[ $os != Linux || "$(uname -o)" != Android ]] || os=Android
- [[ $os != (MINGW64_NT-10.0|MSYS_NT-10.0)* ]] || os=MSYS_NT-10.0
+ [[ ${(L)os} != (mingw|msys)* ]] || os=MSYS_NT-10.0
local arch && arch="$(uname -m)" && [[ -n $arch ]]
daemon=$_gitstatus_plugin_dir/bin/gitstatusd-${os:l}-${arch:l}
}