aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/zsh.nix
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:01:52 +0200
commit07b3673fb43c03543972ea5fa00bd863e8d5f1d8 (patch)
treea510dca108f2d5084b8b95037ca7f24c990ed7b1 /modules/home/zsh.nix
parentb3466f05b8729fbcb706be2cd449e4b4237c1dfd (diff)
downloaddotfiles-07b3673fb43c03543972ea5fa00bd863e8d5f1d8.tar.gz
dotfiles-07b3673fb43c03543972ea5fa00bd863e8d5f1d8.zip
fix: remove stale .zwc files that shadow nix-managed zsh configs
Diffstat (limited to 'modules/home/zsh.nix')
-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