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

bug fix: remove superfluous /bin from gitstatusd path; see #589

This commit is contained in:
romkatv 2020-03-27 06:29:16 +01:00
parent d8eeef278d
commit 597b8051df

View file

@ -7821,7 +7821,7 @@ _p9k_init_vcs() {
local id=${(L)${${(M)_p9k_uname_o:#Android}:-$_p9k_uname}}-${(L)_p9k_uname_m} local id=${(L)${${(M)_p9k_uname_o:#Android}:-$_p9k_uname}}-${(L)_p9k_uname_m}
if [[ -z $GITSTATUS_DAEMON && $id == (android-armv7l|*-i686) && if [[ -z $GITSTATUS_DAEMON && $id == (android-armv7l|*-i686) &&
-z $gitstatus_dir/bin/(usrbin|bin)/*-$id(|-static)(#qN) ]]; then -z $gitstatus_dir/(usrbin|bin)/*-$id(|-static)(#qN) ]]; then
>&2 echo -E - "${(%):-[%1FERROR%f]: %BPowerlevel10k%b is unable to use %Bgitstatus%b. Git prompt will be slow.}" >&2 echo -E - "${(%):-[%1FERROR%f]: %BPowerlevel10k%b is unable to use %Bgitstatus%b. Git prompt will be slow.}"
>&2 echo -E - "" >&2 echo -E - ""
>&2 echo -E - "${(%):-Reason: There is no %Bgitstatusd%b binary for %B${id//\%/%%}%b (32-bit).}" >&2 echo -E - "${(%):-Reason: There is no %Bgitstatusd%b binary for %B${id//\%/%%}%b (32-bit).}"