zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.34k stars 1.87k forks source link

Ignore compiled files #555

Closed druckdev closed 3 years ago

druckdev commented 4 years ago

When compiling before sourcing the plugin, a zsh-autosuggestions.zsh.zwc is created. This can be annoying if zsh-autosuggestions is used as a git submodule in a dotfile repo for example, since the repository will then be marked as dirty. This PR just adds a gitignore that ignores all files ending on .zwc.

z0rc commented 4 years ago

If you're compiling multiple zsh plugins it's sensible to add *.zwc to your global gitignore.

druckdev commented 4 years ago

Oh wow! I did not know that was possible/did not expect this would solve my problem. Thanks!

I can still see it helping others eventually; what do you think? Otherwise this could be closed.

ericfreese commented 3 years ago

I'm going to go ahead and close this for now but would consider it in the future if it comes up again.

druckdev commented 3 years ago

Sounds reasonable. Thanks!