From 5f18655eacaace7e697981fd67b6eee3aefdb264 Mon Sep 17 00:00:00 2001 From: Richard Ziegler Date: Mon, 8 Mar 2021 12:22:46 -0500 Subject: [PATCH] declare _p9k__docker_up up front --- internal/p10k.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 3d0ab354..8f1b551a 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1273,6 +1273,7 @@ function _p9k_prompt_docker_init() { # Declare global variable to hold the segment content typeset -g _p9k__docker_segment= + typeset -g _p9k__docker_up= # Register this segment for async computation. Again note the pattern _p9k__async_segments_compute+='_p9k_worker_invoke docker _p9k_prompt_docker_compute'