scopatz / nanorc

Improved Nano Syntax Highlighting Files
Other
3k stars 549 forks source link

how to uninstall nanorc #319

Open wangts opened 4 years ago

wangts commented 4 years ago

After I installed nanorc, my nano showed the following error messages when I was opening a very small file. It's really annoying. Can you please let me know how I can remove nanorc entirely? Thank you so much.

Error in /root/.nano/asm.nanorc on line 5: Command "comment" not understood Error in /root/.nano/awk.nanorc on line 4: Command "comment" not understood Error in /root/.nano/c.nanorc on line 5: Command "comment" not understood Error in /root/.nano/cmake.nanorc on line 4: Command "comment" not understood Error in /root/.nano/etc-hosts.nanorc on line 11: Color "normal" not understood. Valid colors are "green", "red", "blue", "white", "yellow", "cyan", "magenta" and "black", with the optional prefix "bright" for foreground colors. Error in /root/.nano/fortran.nanorc on line 4: Command "comment" not understood Error in /root/.nano/gentoo.nanorc on line 4: Command "comment" not understood Error in /root/.nano/go.nanorc on line 2: Command "comment" not understood Error in /root/.nano/groff.nanorc on line 4: Command "comment" not understood Error in /root/.nano/haskell.nanorc on line 2: Command "comment" not understood Error in /root/.nano/html.nanorc on line 5: Command "comment" not understood Error in /root/.nano/html.j2.nanorc on line 5: Command "comment" not understood Error in /root/.nano/java.nanorc on line 5: Command "comment" not understood Error in /root/.nano/javascript.nanorc on line 2: Command "comment" not understood Error in /root/.nano/js.nanorc on line 17: Command "comment" not understood Error in /root/.nano/json.nanorc on line 4: Command "comment" not understood Error in /root/.nano/lua.nanorc on line 17: Command "comment" not understood Error in /root/.nano/lua.nanorc on line 19: Command "linter" not understood Error in /root/.nano/makefile.nanorc on line 4: Command "comment" not understood Error in /root/.nano/man.nanorc on line 5: Command "comment" not understood Error in /root/.nano/nanorc.nanorc on line 4: Command "comment" not understood Error in /root/.nano/nanorc.nanorc on line 17: Color "normal" not understood. Valid colors are "green", "red", "blue", "white", "yellow", "cyan", "magenta" and "black", with the optional prefix "bright" for foreground colors. Error in /root/.nano/nanorc.nanorc on line 26: Color "normal" not understood. Valid colors are "green", "red", "blue", "white", "yellow", "cyan", "magenta" and "black", with the optional prefix "bright" for foreground colors. Error in /root/.nano/nanorc.nanorc on line 35: Color "normal" not understood. Valid colors are "green", "red", "blue", "white", "yellow", "cyan", "magenta" and "black", with the optional prefix "bright" for foreground colors. Error in /root/.nano/ocaml.nanorc on line 5: Command "comment" not understood Error in /root/.nano/patch.nanorc on line 6: Command "comment" not understood Error in /root/.nano/perl.nanorc on line 6: Command "comment" not understood Error in /root/.nano/php.nanorc on line 4: Command "comment" not understood Error in /root/.nano/po.nanorc on line 2: Command "comment" not understood Error in /root/.nano/pov.nanorc on line 4: Command "comment" not understood Error in /root/.nano/python.nanorc on line 6: Command "comment" not understood Error in /root/.nano/python.nanorc on line 8: Command "linter" not understood Error in /root/.nano/ruby.nanorc on line 6: Command "linter" not understood Error in /root/.nano/ruby.nanorc on line 7: Command "comment" not understood Error in /root/.nano/rust.nanorc on line 8: Command "comment" not understood Error in /root/.nano/sh.nanorc on line 6: Command "comment" not understood Error in /root/.nano/sh.nanorc on line 8: Command "linter" not understood Error in /root/.nano/tcl.nanorc on line 5: Command "comment" not understood Error in /root/.nano/tex.nanorc on line 5: Command "comment" not understood Error in /root/.nano/tex.nanorc on line 7: Command "linter" not understood Error in /root/.nano/xml.nanorc on line 7: Command "comment" not understood Press Enter to continue starting nano.

scopatz commented 4 years ago

You need to edit you ~/.nanorc