1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-23 23:51:58 +00:00

pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-11-04 20:17:56 +01:00
parent 9519c5fa03
commit 9cd922af31

View file

@ -361,7 +361,7 @@ function gitstatus_start() {
[[ -n $daemon ]] || {
os="$(uname -s)" && [[ -n $os ]]
[[ $os != Linux || "$(uname -o)" != Android ]] || os=Android
[[ $os != MSYS_NT-10.0-* ]] || os=MSYS_NT-10.0
[[ $os != (MINGW64_NT-10.0|MSYS_NT-10.0-*) ]] || os=MSYS_NT-10.0
local arch && arch="$(uname -m)" && [[ -n $arch ]]
daemon=$_gitstatus_plugin_dir/bin/gitstatusd-${os:l}-${arch:l}
}