-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Change .insectrc
location
#307
Comments
I was recently looking for my insectrc in |
Which file should take priority if both are present, |
Agreed |
@mhmdanas I have a proposal. Basically after a lot of drama, developers developing the PolyMC project abandoned it and started Prism instead. Basically, once you open it for the first time, It'll tell you that there's config files, and tell you to move them. (Since it's only one file we can just have it moved by an insect tbh). TL;DR: I think the default location should be changed, but notify the user if they have a config file in ~/ |
Thank you for your opinion.
I'd rather not make this a breaking change that requires user intervention if this is what you mean, because the code needed to support the two locations is negligible. Just an informational message to inform the user might be okay, but I think even that isn't really necessary. |
User intervention is certainly not necessary. The file should be moved, and the user should be notified as such. That's all. |
It absolutely would in some cases. For instance, if you manage your dotfiles in version control like I do, you'd have to move |
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've been considered an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/ insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes sharkdp#377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes sharkdp#307. - Exit with non-zero exit code if evaluating argument fails.
- Allow passing expression as multiple arguments This allows e.g. `insect 1 + 1`, whereas previously this would've caused an error. - Use insectrc in non-interactive mode too. Fixes #377. - Add alternative location for insectrc ($XDG_CONFIG_HOME/insect/insectrc). Fixes #307. - Exit with non-zero exit code if evaluating argument fails.
Having
.insectrc
directly in~
isn't super great in my opinion. Having it somewhere in$XDG_CONFIG_HOME/insect
would be better.The text was updated successfully, but these errors were encountered: