git-novice icon indicating copy to clipboard operation
git-novice copied to clipboard

Error message when using nano in git-for-windows version 2.32.0.windows.2

Open murraycadzow opened this issue 3 years ago • 1 comments

This is more of an FYI for people coming across the error as part of a workshop

The following error occurs when using nano (e.g. at the start of http://swcarpentry.github.io/git-novice/04-changes/index.html) when using git version 2.32.0.windows.2: "Error in /etc/nanorc on line 237: Error expanding /usr/share/nano/*.nanorc: No such file or directory"

This is an error in git-for-windows and has been reported https://github.com/git-for-windows/git/issues/3315 and will hopefully be fixed in the next release.

It does not seem to cause any issues beyond the message appearing each time nano is used.

murraycadzow avatar Aug 12 '21 22:08 murraycadzow

Thanks, @murraycadzow, for making a note of that, and following up with git-for-windows. I saw the same issue, not in git, but a unix class I recently taught. I used it as an opportunity to explain how you can double-check functionality (which is really just using the ls command followed by the cat command).

kekoziar avatar Aug 12 '21 22:08 kekoziar

Git Bash error has since been fixed

kekoziar avatar Jul 28 '23 17:07 kekoziar