You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you run sudo,the program will run as the root user therefore it will search /root for config files instead of your user home directory.so if you need syntax highlighting while running nano as root you can either copy your .nanorc file to /root or use -f option and provide the path to nanorc file.
quoting from nano man page:
-f file, --rcfile=file
Read only this file for setting nano's options, instead of reading both the system-wide and the user's nanorc files.
I installed the Syntax Highlighting through curl, and for some reason on Arch Linux it does not appear in sudo nano.
The text was updated successfully, but these errors were encountered: