aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-30 21:13:15 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-30 22:04:29 +0300
commit1b2990ecb3ac2cd5b16aec70c14185fb40cf7df1 (patch)
tree54f10c46b50fac71149418e8f63b4eac65a0ec79
parentff29cd3d89abe53805cef78bea1daa47a9933916 (diff)
fix an error message printed for 32-bit intel users; see https://github.com/romkatv/gitstatus/issues/73
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index d2a7a764..72cfbe85 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5221,7 +5221,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 - ""