Skip to content

Commit

Permalink
Ignore *.zwc.old files when compiling functions
Browse files Browse the repository at this point in the history
These files are generated by `zrecompile`.

Also update the .gitignore file.

Closes #218
  • Loading branch information
ericbn committed Nov 25, 2017
1 parent e0a7c67 commit e4e0c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
*.swp
*.zwc
*.zwc.old
custom/
2 changes: 1 addition & 1 deletion login_init.zsh
Expand Up @@ -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
Expand Down

0 comments on commit e4e0c55

Please sign in to comment.