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
18bca74d93
commit
15f0284b12
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ function gitstatus_start() {
|
|||
[[ $os != Linux || $(uname -o) != Android ]] || os=Android
|
||||
local arch && arch=$(uname -m) && [[ -n $arch ]]
|
||||
local ldd_v && (( $+commands[ldd] )) && ldd_v=$(command ldd --version 2>/dev/null) || true
|
||||
local linkage && [[ ${(L)ldd_v} == (*glibc*|*gnu\ libc*) ]] || linkage=-static
|
||||
local linkage && [[ $os != Linux || ${(L)ldd_v} == (*glibc*|*gnu\ libc*) ]] || linkage=-static
|
||||
|
||||
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}${linkage}}
|
||||
[[ -f $daemon ]]
|
||||
|
|
Loading…
Reference in a new issue