ZSH: Beginning of reconfiguring everything
This commit is contained in:
8
.config/zsh/autoload/zwcpurge
Normal file
8
.config/zsh/autoload/zwcpurge
Normal file
@ -0,0 +1,8 @@
|
||||
## Purge all compiled zwc files
|
||||
|
||||
function zwcpurge () {
|
||||
autoload -Uz zrecompile
|
||||
for zsh_file in $(find ${ZDOTDIR} -maxdepth 3 -type f \( -name "*.zwc" -o -name "*.zwc.old" \)); do
|
||||
rm -f ${zsh_file}
|
||||
done
|
||||
}
|
Reference in New Issue
Block a user