mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
5a30f6a399
commit
18bca74d93
2 changed files with 3 additions and 1 deletions
BIN
gitstatus/bin/gitstatusd-linux-x86_64-static
Executable file
BIN
gitstatus/bin/gitstatusd-linux-x86_64-static
Executable file
Binary file not shown.
|
@ -278,8 +278,10 @@ function gitstatus_start() {
|
|||
local os && os=$(uname -s) && [[ -n $os ]]
|
||||
[[ $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 daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}}
|
||||
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}${linkage}}
|
||||
[[ -f $daemon ]]
|
||||
|
||||
lock_file=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.lock.XXXXXXXXXX)
|
||||
|
|
Loading…
Reference in a new issue