From e50b93ca882aa58b0119b2e90818c4157e30c794 Mon Sep 17 00:00:00 2001 From: huyz Date: Fri, 23 Dec 2022 00:31:55 -0800 Subject: [PATCH 1/2] Fix zcompile race condition sorin-ionescu/prezto#2028 --- runcoms/zlogin | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runcoms/zlogin b/runcoms/zlogin index ac4d342..2f83435 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -10,7 +10,10 @@ # Compile the completion dump to increase startup speed. zcompdump="${XDG_CACHE_HOME:-$HOME/.cache}/prezto/zcompdump" if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then - zcompile "$zcompdump" + if command mkdir "${zcompdump}.zwc.lock" 2>/dev/null; then + zcompile "$zcompdump" + command rmdir "${zcompdump}.zwc.lock" 2>/dev/null + fi fi } &! From a4ca9243109a2a03a844afc93a1d4d3212752f15 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Sat, 14 Jan 2023 15:18:03 +0100 Subject: [PATCH 2/2] prompt: update powerlevel10k submodule to v1.17.0 Release notes: - https://github.com/romkatv/powerlevel10k/releases/tag/v1.17.0 --- modules/prompt/external/powerlevel10k | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prompt/external/powerlevel10k b/modules/prompt/external/powerlevel10k index 8a676a9..a066b55 160000 --- a/modules/prompt/external/powerlevel10k +++ b/modules/prompt/external/powerlevel10k @@ -1 +1 @@ -Subproject commit 8a676a9157d2b0e00e88d06456ac7317f11c0317 +Subproject commit a066b55f855c8e488d3ea9e26e861bdd5ecd4fe8