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 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 } &!