From e4e0c55ef331bf57285e713f35412f163ee23292 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Fri, 27 Oct 2017 14:47:16 -0500 Subject: [PATCH] Ignore *.zwc.old files when compiling functions These files are generated by `zrecompile`. Also update the .gitignore file. Closes #218 --- .gitignore | 1 + login_init.zsh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index efff525..54089f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.swp *.zwc +*.zwc.old custom/ diff --git a/login_init.zsh b/login_init.zsh index ef08fb3..c9fb88b 100755 --- a/login_init.zsh +++ b/login_init.zsh @@ -20,7 +20,7 @@ zrecompile -pq ${ZDOTDIR:-${HOME}}/.zshrc # zcompile enabled module autoloaded functions - zrecompile -pq ${ZIM_HOME}/functions ${ZIM_HOME}/modules/${^zmodules}/functions/^([_.]*|prompt_*_setup|README*|*.zwc)(-.N) + zrecompile -pq ${ZIM_HOME}/functions ${ZIM_HOME}/modules/${^zmodules}/functions/^([_.]*|prompt_*_setup|README*|*.zwc|*.zwc.old)(-.N) # zcompile enabled module init scripts for zmodule (${zmodules}); do