aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-04-04 18:00:55 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-04-04 18:00:55 +0200
commit98e2ab03b256d204bbb24e1ec96431b117dbcff5 (patch)
tree586deb63dcdc9bac4326eea48f510bc81a49855c /modules
parent2695c9115706264f52357a47933db751712a174c (diff)
downloaddotfiles-98e2ab03b256d204bbb24e1ec96431b117dbcff5.tar.gz
dotfiles-98e2ab03b256d204bbb24e1ec96431b117dbcff5.zip
fix: remove stale .zwc files that shadow nix-managed zsh configs
Diffstat (limited to 'modules')
-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