aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
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]//,/.}
;;