Prevent .zshrc from deleting itself on update

Everytime i update my custom.zshrc in root is replaced by the default one from parrot so i have to recreate everything and i sometimes forget to take backup of the custom one. Is there a way to prevent this replacement of .zshrc in root?