mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
29cac7bdfb
commit
6d57d00f32
1 changed files with 2 additions and 3 deletions
|
@ -504,9 +504,8 @@ function gitstatus_start() {
|
|||
local -aU os
|
||||
case $kernel in
|
||||
linux)
|
||||
os=("${(L)$(uname -o)}") || return
|
||||
[[ -n $os[1] ]] || return
|
||||
[[ $os[1] == android ]] || os[1]=linux
|
||||
os=("${(L)$(uname -o 2>/dev/null)}") || os=()
|
||||
[[ $os[1] == android ]] || os=(linux)
|
||||
;;
|
||||
cygwin_nt-*) os=($kernel cygwin_nt-10.0);;
|
||||
mingw|msys) os=($kernel msys_nt-10.0);;
|
||||
|
|
Loading…
Reference in a new issue