aboutsummaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-03-29 19:48:19 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-03-29 19:48:19 +0300
commit9dadc822e354e98b75e51c836ff464cbc8d4676a (patch)
tree8edf5ed3d3d74561bf53b74a603e6822377eab5e /gitstatus
parent8573855d3966bb878eb853d3747b4384e19f7889 (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rwxr-xr-xgitstatus/bin/gitstatusd-android-aarch64bin1109320 -> 59 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-cygwin_nt-10.0-i686bin0 -> 2271758 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64bin2207744 -> 2105344 bytes
-rwxr-xr-x[l---------]gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_644
-rwxr-xr-x[l---------]gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_644
-rwxr-xr-xgitstatus/bin/gitstatusd-freebsd-amd64bin3302024 -> 3375760 bytes
l---------gitstatus/bin/gitstatusd-freebsd-x86_641
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-aarch64bin2310928 -> 2101880 bytes
-rwxr-xr-x[l---------]gitstatus/bin/gitstatusd-linux-armv6l4
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-armv7lbin1910300 -> 1247552 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-i386bin0 -> 2390692 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-i5863
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-i6863
-rwxr-xr-xgitstatus/bin/gitstatusd-linux-x86_64-staticbin2102464 -> 36 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-msys_nt-10.0-i686bin0 -> 2271246 bytes
-rwxr-xr-xgitstatus/bin/gitstatusd-msys_nt-10.0-x86_64bin2032640 -> 2104832 bytes
-rw-r--r--gitstatus/gitstatus.plugin.zsh13
17 files changed, 22 insertions, 10 deletions
diff --git a/gitstatus/bin/gitstatusd-android-aarch64 b/gitstatus/bin/gitstatusd-android-aarch64
index 24ff2854..9d76b206 100755
--- a/gitstatus/bin/gitstatusd-android-aarch64
+++ b/gitstatus/bin/gitstatusd-android-aarch64
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686 b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686
new file mode 100755
index 00000000..e8167cfd
--- /dev/null
+++ b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-i686
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64
index 81ad0c61..15d4adba 100755
--- a/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64
+++ b/gitstatus/bin/gitstatusd-cygwin_nt-10.0-x86_64
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64
index c0d9fb61..c031d54a 120000..100755
--- a/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64
+++ b/gitstatus/bin/gitstatusd-cygwin_nt-6.1-x86_64
@@ -1 +1,3 @@
-gitstatusd-cygwin_nt-10.0-x86_64 \ No newline at end of file
+#!/bin/sh
+
+exec "${0%-6.1-x86_64}-10.0-x86_64" "$@"
diff --git a/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64 b/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64
index c0d9fb61..a2388978 120000..100755
--- a/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64
+++ b/gitstatus/bin/gitstatusd-cygwin_nt-6.3-x86_64
@@ -1 +1,3 @@
-gitstatusd-cygwin_nt-10.0-x86_64 \ No newline at end of file
+#!/bin/sh
+
+exec "${0%-6.3-x86_64}-10.0-x86_64" "$@"
diff --git a/gitstatus/bin/gitstatusd-freebsd-amd64 b/gitstatus/bin/gitstatusd-freebsd-amd64
index b08e2df9..a0fc5ccb 100755
--- a/gitstatus/bin/gitstatusd-freebsd-amd64
+++ b/gitstatus/bin/gitstatusd-freebsd-amd64
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-freebsd-x86_64 b/gitstatus/bin/gitstatusd-freebsd-x86_64
deleted file mode 120000
index ce481223..00000000
--- a/gitstatus/bin/gitstatusd-freebsd-x86_64
+++ /dev/null
@@ -1 +0,0 @@
-gitstatusd-freebsd-amd64 \ No newline at end of file
diff --git a/gitstatus/bin/gitstatusd-linux-aarch64 b/gitstatus/bin/gitstatusd-linux-aarch64
index 417cf52a..69171444 100755
--- a/gitstatus/bin/gitstatusd-linux-aarch64
+++ b/gitstatus/bin/gitstatusd-linux-aarch64
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-linux-armv6l b/gitstatus/bin/gitstatusd-linux-armv6l
index 1990676d..b8afa5ef 120000..100755
--- a/gitstatus/bin/gitstatusd-linux-armv6l
+++ b/gitstatus/bin/gitstatusd-linux-armv6l
@@ -1 +1,3 @@
-gitstatusd-linux-armv7l \ No newline at end of file
+#!/bin/sh
+
+exec "${0%-armv6l}-armv7l" "$@"
diff --git a/gitstatus/bin/gitstatusd-linux-armv7l b/gitstatus/bin/gitstatusd-linux-armv7l
index 18800d0d..78f0eb19 100755
--- a/gitstatus/bin/gitstatusd-linux-armv7l
+++ b/gitstatus/bin/gitstatusd-linux-armv7l
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-linux-i386 b/gitstatus/bin/gitstatusd-linux-i386
new file mode 100755
index 00000000..f004b548
--- /dev/null
+++ b/gitstatus/bin/gitstatusd-linux-i386
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-linux-i586 b/gitstatus/bin/gitstatusd-linux-i586
new file mode 100755
index 00000000..424e49b8
--- /dev/null
+++ b/gitstatus/bin/gitstatusd-linux-i586
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "${0%-i586}-i386" "$@"
diff --git a/gitstatus/bin/gitstatusd-linux-i686 b/gitstatus/bin/gitstatusd-linux-i686
new file mode 100755
index 00000000..ef084218
--- /dev/null
+++ b/gitstatus/bin/gitstatusd-linux-i686
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "${0%-i686}-i386" "$@"
diff --git a/gitstatus/bin/gitstatusd-linux-x86_64-static b/gitstatus/bin/gitstatusd-linux-x86_64-static
index 96486656..6ca5097f 100755
--- a/gitstatus/bin/gitstatusd-linux-x86_64-static
+++ b/gitstatus/bin/gitstatusd-linux-x86_64-static
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-msys_nt-10.0-i686 b/gitstatus/bin/gitstatusd-msys_nt-10.0-i686
new file mode 100755
index 00000000..f2cf7942
--- /dev/null
+++ b/gitstatus/bin/gitstatusd-msys_nt-10.0-i686
Binary files differ
diff --git a/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64 b/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64
index 0241c83c..e58ec409 100755
--- a/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64
+++ b/gitstatus/bin/gitstatusd-msys_nt-10.0-x86_64
Binary files differ
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 7a0034f8..12d1f167 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -503,15 +503,16 @@ function gitstatus_start() {
elif [[ -n $GITSTATUS_DAEMON ]]; then
local daemons=($_gitstatus_plugin_dir/{usrbin,bin}/$GITSTATUS_DAEMON)
else
- local -aU os
+ local -aU os=($kernel)
case $kernel in
linux)
- os=("${(L)$(uname -o 2>/dev/null)}") || os=()
- [[ $os[1] == android ]] || os=(linux)
+ local os_flavor
+ os_flavor="${(L)$(uname -o 2>/dev/null)}" && os+=(${(M)os_flavor:#android})
;;
- cygwin_nt-*) os=($kernel cygwin_nt-10.0);;
- mingw*|msys*) os=($kernel msys_nt-10.0);;
- *) os=($kernel);;
+ cygwin_nt-*) os+=(cygwin_nt-10.0);;
+ msys_nt-*) os+=(msys_nt-10.0);;
+ mingw32_nt-*) os+=(msys_nt-10.0);;
+ mingw64_nt-*) os+=(msys_nt-10.0);;
esac
local arch
arch="${(L)$(uname -m)}" || return