Support load config in ~/.config/.nirc
CoolPlayLin opened this issue · comments
Clear and concise description of the problem
As a user, I'd like every CLI's config file can put in a folder like ~/.config
instead of putting on user's root folder. It would make my root folder mess and inconvenient to manage.
Suggested solution
Currently, ni only read config in ~/
. I hope that you could path in ~/.config
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Hi, bro, I have found a way to automatically read nirc file from the custom path, just use Environment Variable, If your machine is based on windows, you can follow this blog.https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.4