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

pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-11-13 12:01:15 +01:00
parent 3cc231ea9c
commit d9c3fce012

View file

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