1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 08:00:06 +00:00

pull upstream changes from gitstatus

This commit is contained in:
romkatv 2020-03-29 18:48:19 +02:00
parent 8573855d39
commit 9dadc822e3
17 changed files with 22 additions and 10 deletions

Binary file not shown.

View file

@ -1 +0,0 @@
gitstatusd-cygwin_nt-10.0-x86_64

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-6.1-x86_64}-10.0-x86_64" "$@"

View file

@ -1 +0,0 @@
gitstatusd-cygwin_nt-10.0-x86_64

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-6.3-x86_64}-10.0-x86_64" "$@"

View file

@ -1 +0,0 @@
gitstatusd-freebsd-amd64

View file

@ -1 +0,0 @@
gitstatusd-linux-armv7l

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-armv6l}-armv7l" "$@"

Binary file not shown.

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-i586}-i386" "$@"

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec "${0%-i686}-i386" "$@"

Binary file not shown.

View file

@ -503,15 +503,16 @@ function gitstatus_start() {
elif [[ -n $GITSTATUS_DAEMON ]]; then elif [[ -n $GITSTATUS_DAEMON ]]; then
local daemons=($_gitstatus_plugin_dir/{usrbin,bin}/$GITSTATUS_DAEMON) local daemons=($_gitstatus_plugin_dir/{usrbin,bin}/$GITSTATUS_DAEMON)
else else
local -aU os local -aU os=($kernel)
case $kernel in case $kernel in
linux) linux)
os=("${(L)$(uname -o 2>/dev/null)}") || os=() local os_flavor
[[ $os[1] == android ]] || os=(linux) os_flavor="${(L)$(uname -o 2>/dev/null)}" && os+=(${(M)os_flavor:#android})
;; ;;
cygwin_nt-*) os=($kernel cygwin_nt-10.0);; cygwin_nt-*) os+=(cygwin_nt-10.0);;
mingw*|msys*) os=($kernel msys_nt-10.0);; msys_nt-*) os+=(msys_nt-10.0);;
*) os=($kernel);; mingw32_nt-*) os+=(msys_nt-10.0);;
mingw64_nt-*) os+=(msys_nt-10.0);;
esac esac
local arch local arch
arch="${(L)$(uname -m)}" || return arch="${(L)$(uname -m)}" || return