From 2057080ec2849d94e2d07ccec9caab4fe1c00b59 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 30 Oct 2019 19:13:15 +0100 Subject: [PATCH] fix an error message printed for 32-bit intel users; see https://github.com/romkatv/gitstatus/issues/73 --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index e2c65250..58ce5321 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5192,7 +5192,7 @@ _p9k_init_vcs() { (( $_POWERLEVEL9K_VCS_BACKENDS[(I)git] )) || return local gitstatus_dir=${_POWERLEVEL9K_GITSTATUS_DIR:-${__p9k_root_dir}/gitstatus} - if [[ -z $GITSTATUS_DAEMON && $_p9k_uname == i686 && -z $gitstatus_dir/bin/*-i686(-static|)(#qN) ]]; then + if [[ -z $GITSTATUS_DAEMON && $_p9k_uname_m == i686 && -z $gitstatus_dir/bin/*-i686(-static|)(#qN) ]]; then _p9k__gitstatus_disabled=1 >&2 echo -E - "${(%):-[%1FERROR%f]: %BPowerlevel10k%b is unable to use %Bgitstatus%b. Git prompt will be slow.}" >&2 echo -E - ""