|
|
@ -504,9 +504,8 @@ function gitstatus_start() {
|
|
|
|
local -aU os
|
|
|
|
local -aU os
|
|
|
|
case $kernel in
|
|
|
|
case $kernel in
|
|
|
|
linux)
|
|
|
|
linux)
|
|
|
|
os=("${(L)$(uname -o)}") || return
|
|
|
|
os=("${(L)$(uname -o 2>/dev/null)}") || os=()
|
|
|
|
[[ -n $os[1] ]] || return
|
|
|
|
[[ $os[1] == android ]] || os=(linux)
|
|
|
|
[[ $os[1] == android ]] || os[1]=linux
|
|
|
|
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
cygwin_nt-*) os=($kernel cygwin_nt-10.0);;
|
|
|
|
cygwin_nt-*) os=($kernel cygwin_nt-10.0);;
|
|
|
|
mingw|msys) os=($kernel msys_nt-10.0);;
|
|
|
|
mingw|msys) os=($kernel msys_nt-10.0);;
|
|
|
|