Search the Community
Showing results for tags 'nanorc'.
Found 1 result
Nano and Aliases and bashrc and nanorc
StevenOliver posted a topic in LinuxQuestion: Is it safe to delete nanorc (located in /etc/)? Reason: I don't like Nano's default syntax highlighting. Deleting "nanorc" appears to fix this (makes everything old-style black-and-white). Background info: I discovered -Ynone disables syntax highlighting (example: "nano -Ynone myfile.php"), so I created an alias. Problem: When accessing Ubuntu via my Mac Terminal, Bash does not read the .bashrc file where aliases are written (discussed extensively on 'SO'..... something about if my terminal emulator is a login shell, and that the "Source .bashrc" command has to be run at each login to 'activate' the .bashrc file.... something like that). Bad Solution: Deleting the "nanorc" file located in /etc seemed to get rid of all the undesired syntax highlighting for me. Is this "bad?" Will this be bad for the rest of the system? Will some daemon or process be constantly "looking for" the missing nanorc file? And, is there a better solution? Thank you