aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/home/zsh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index d7d02e7..678e70d 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -64,6 +64,9 @@ in
# https://github.com/koalaman/shellcheck/issues/809
# shellcheck disable=SC1090 # sourced filenames with variables
+ # Remove stale compiled zsh files that shadow nix-managed configs
+ rm -f ~/.config/zsh/.zshrc.zwc ~/.config/zsh/{aliases,path,extras}.zwc
+
eval "$(starship init zsh)"
source ~/.zsh_repos/marlonrichert/zsh-autocomplete/zsh-autocomplete.plugin.zsh