diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 34be6240..dbd17684 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1018,6 +1018,7 @@ prompt_load() { load=${${(A)=load}[bucket+1]//,/.} ;; *) + [[ -r /proc/loadavg ]] || return _p9k_read_file /proc/loadavg || return load=${${(A)=_P9K_RETVAL}[bucket]//,/.} ;;