Ignore *.zwc.old files when compiling functions
These files are generated by `zrecompile`. Also update the .gitignore file.
This commit is contained in:
parent
726f011bca
commit
877d19f3cc
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
*.swp
|
*.swp
|
||||||
*.zwc
|
*.zwc
|
||||||
|
*.zwc.old
|
||||||
custom/
|
custom/
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
zrecompile -pq ${ZDOTDIR:-${HOME}}/.zshrc
|
zrecompile -pq ${ZDOTDIR:-${HOME}}/.zshrc
|
||||||
|
|
||||||
# zcompile enabled module autoloaded functions
|
# 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
|
# zcompile enabled module init scripts
|
||||||
for zmodule (${zmodules}); do
|
for zmodule (${zmodules}); do
|
||||||
|
|
Loading…
Reference in a new issue