pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-11-13 12:01:15 +01:00
parent 3cc231ea9c
commit d9c3fce012
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ function gitstatus_start() {
[[ -n $daemon ]] || { [[ -n $daemon ]] || {
os="$(uname -s)" && [[ -n $os ]] os="$(uname -s)" && [[ -n $os ]]
[[ $os != Linux || "$(uname -o)" != Android ]] || os=Android [[ $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 ]] local arch && arch="$(uname -m)" && [[ -n $arch ]]
daemon=$_gitstatus_plugin_dir/bin/gitstatusd-${os:l}-${arch:l} daemon=$_gitstatus_plugin_dir/bin/gitstatusd-${os:l}-${arch:l}
} }