Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch file doesn't work for .zsh or .zshrc files #2550

Closed
aweis89 opened this issue Dec 7, 2024 · 1 comment · May be fixed by #2551 or #2552
Closed

Watch file doesn't work for .zsh or .zshrc files #2550

aweis89 opened this issue Dec 7, 2024 · 1 comment · May be fixed by #2551 or #2552

Comments

@aweis89
Copy link

aweis89 commented Dec 7, 2024

Issue

Can we possibly add .zsh and/or .zshrc to the list of file extentions?

Tbh, I wish we didn't limit the filetype extensions. If I'm in a filetype with different comment style, I'd rather --watch-file would work for an invalid comment (after all it's just a message to AI) then it not work at all. Not to mention we now need to keep documentation updated with the list of valid file extensions.

Note the current implementation that looks for a suffix won't work for .zshrc as the . needs to be after the first character for it to be included in path.suffix.lower()

Version and model info

No response

@paul-gauthier
Copy link
Collaborator

I added those and a few more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants