mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 16:31:57 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
3cc231ea9c
commit
d9c3fce012
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,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 != (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 ]]
|
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}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue