-
Notifications
You must be signed in to change notification settings - Fork 25
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
discuss config file location improvements #43
Comments
Thanks for the suggestion; looks reasonable to me. |
rkitover
added a commit
to rkitover/nano-win
that referenced
this issue
Jul 27, 2022
Fix lhmouse#43 For non-elevated users, search for the config file in this order: 1. %ALLUSERSPROFILE%\nano\nanorc (global) 2. %SystemRoot%\nanorc (global, for backcompat) 3. %USERPROFILE%\.nanorc 4. %APPDATA%\nano\nanorc For elevated users, the order is: 1. %ALLUSERSPROFILE%\nano\elevated_nanorc 2. %ALLUSERSPROFILE%\nanorc (for backcompat, should be removed later) Signed-off-by: Rafael Kitover <[email protected]>
rkitover
added a commit
to rkitover/nano-win
that referenced
this issue
Jul 27, 2022
Fix lhmouse#43 For non-elevated users, search for the config file in this order: 1. %ALLUSERSPROFILE%\nano\nanorc (global) 2. %SystemRoot%\nanorc (global, for backcompat) 3. %USERPROFILE%\.nanorc 4. %APPDATA%\nano\nanorc For elevated users, the order is: 1. %ALLUSERSPROFILE%\nano\elevated_nanorc 2. %ALLUSERSPROFILE%\nanorc (for backcompat, should be removed later) Signed-off-by: Rafael Kitover <[email protected]>
rkitover
added a commit
to rkitover/nano-win
that referenced
this issue
Jul 28, 2022
Fix lhmouse#43 For non-elevated users, search for the config file in this order: 1. %ALLUSERSPROFILE%\nano\nanorc (global) 2. %SystemRoot%\nanorc (global, for backcompat, should be removed in the future) 3. %USERPROFILE%\.nanorc 4. %APPDATA%\nano\nanorc For elevated users, the order is: 1. %ALLUSERSPROFILE%\nano\elevated_nanorc 2. %ALLUSERSPROFILE%\nanorc (for backcompat, should be removed later) Signed-off-by: Rafael Kitover <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lhmouse @akuropka
Following up on #42, Here are my suggestions for locations to search for the config file, we can discuss and I'll open a PR etc..
User Mode
%APPDATA%\nano\nanorc
%USERPROFILE%\.nanorc
%ALLUSERSPROFILE%\nano\nanorc
Admin/Elevated mode
%ALLUSERSPROFILE%\nano\elevated_nanorc
%ALLUSERSPROFILE%\nanorc
%ALLUSERSPROFILE%
maps toC:\ProgramData
on recent versions of Windows.The text was updated successfully, but these errors were encountered: