mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
fix an error message printed for 32-bit intel users; see https://github.com/romkatv/gitstatus/issues/73
This commit is contained in:
parent
37fbc8c7ea
commit
2057080ec2
1 changed files with 1 additions and 1 deletions
|
@ -5192,7 +5192,7 @@ _p9k_init_vcs() {
|
||||||
(( $_POWERLEVEL9K_VCS_BACKENDS[(I)git] )) || return
|
(( $_POWERLEVEL9K_VCS_BACKENDS[(I)git] )) || return
|
||||||
|
|
||||||
local gitstatus_dir=${_POWERLEVEL9K_GITSTATUS_DIR:-${__p9k_root_dir}/gitstatus}
|
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
|
_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 - "${(%):-[%1FERROR%f]: %BPowerlevel10k%b is unable to use %Bgitstatus%b. Git prompt will be slow.}"
|
||||||
>&2 echo -E - ""
|
>&2 echo -E - ""
|
||||||
|
|
Loading…
Reference in a new issue