mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
02b86416ec
commit
66b331c251
1 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,8 @@ function gitstatus_start() {
|
||||||
setopt xtrace
|
setopt xtrace
|
||||||
}
|
}
|
||||||
|
|
||||||
local os && { [[ $(uname -o) == Android ]] && os=Android || os=$(uname -s) } && [[ -n $os ]]
|
local os && os=$(uname -s) && [[ -n $os ]]
|
||||||
|
[[ $os != Linux || $(uname -o) != Android ]] || os=Android
|
||||||
local arch && arch=$(uname -m) && [[ -n $arch ]]
|
local arch && arch=$(uname -m) && [[ -n $arch ]]
|
||||||
|
|
||||||
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}}
|
local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}}
|
||||||
|
|
Loading…
Reference in a new issue