1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-11-04 19:44:34 +01:00
parent 5d74fa39c8
commit 50c8214038
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

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