From 04a4e07a6d6c834effff21f3f2f614fe5b778abc Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 23 Mar 2026 14:13:34 +0100 Subject: [PATCH] fuji/home/zsh: recompile .zcompdump after update --- home/common/zsh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/common/zsh.nix b/home/common/zsh.nix index 934ce8a..38da592 100644 --- a/home/common/zsh.nix +++ b/home/common/zsh.nix @@ -115,6 +115,11 @@ if [[ -n "$BUBBLEWRAP_DIR" ]]; then RPS1="{{$BUBBLEWRAP_DIR}}" fi + + # Recompile .zcompdump if stale + if [[ -f ~/.zcompdump && ( ! -f ~/.zcompdump.zwc || ~/.zcompdump -nt ~/.zcompdump.zwc ) ]]; then + zcompile ~/.zcompdump + fi ''; };