-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Added code to check for the existence of a customized ini file.. #427
Conversation
…`ConEmu-%COMPUTERNAME%.ini`, before checking for the standard ini file `ConEmu.ini`.
Could you write some documentation about your change, for new users? |
Looks for settings in the following file first |
I updated the README in my fork, is that what you're talking about? I can add some code-comments also? |
I also added a couple comments in the changed code. Can I update this pull request to use my latest version or do I need to create a new pull request? |
You can squash and force push to your branch to update the PR |
Just commit and push to your fork, it'll update the PR. |
Should this look for ConEmu-%computername%.xml or user-ConEmu.xml? The latter fits more with what is going on with user config files for the various supported shells. I would also suggest an addition to the .gitignore of config/ConEmu-*.xml if we stick with the %computername% route. user-ConEmu.xml would already be ignored based on the current development .gitignore. |
Do you mean |
No. The current development branch supports the following user shell specific config files: Powershell = config/user-profile.ps1 I suggested 'user-conemu.xml' to fit the pattern established by the above files and because currently the development '.gitignore' ignores 'config/user-*'. I guess I did not understand what you were trying to accomplish, it is clearer now. It sounds like you are looking for a different conemu config based on the name of the system? Not sure why but everyone has different needs. I guess if you wanted to fit the established pattern AND have what you need it could be 'config/user-%computername%-ConEmu.xml'. I like configurability/flexibility so I like it what you are doing, I just saw an existing pattern and this did not quite fit the pattern so I thought I'd ask. EDIT: I personally like the ability to feed the exe an xml file on the command line that way I can create shortcuts to launch whatever I want. |
I see what you mean now! I like being able to pass the settings/config/xml file to the exe as well, but I've found that most things I need are taken care of by using the ComputerName envar. (I have made similar changes to my own versions of other apps too, such as Notepad2.) I'm totally fine with |
Is there a need to include the computer name env variable in the filename? I guess the standard now is to have these |
I think it is still important to have the computer name in the settings file. Although, I think it makes more sense with the computer name at the end.. as in: |
Sounds good to me. |
Added code to check for the existence of a customized ini file..
No description provided.