scopatz / nanorc

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

Sorry for the noob question. Is /usr/share/nano-syntax-highlighting/ created only by this distribution, or is this a default directory for .nanorc files? #416

Open futuremotiondev opened 9 months ago

futuremotiondev commented 9 months ago

I am new to Linux and running Ubuntu on WSL2. I installed the syntax highlighting files for Nano by running curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh.

Does this installation create the /usr/share/nano-syntax-highlighting directory, or is this a default directory that already exists prior to installation?

I'm trying to understand all the default directories that exist prior to installing this package.

Is it safe to delete /usr/share/nano-syntax-highlighting directory if the installer already dropped everything in ~/.nano?

Any guidance would be appreciated!

Canowyrms commented 8 months ago

Just checked my WSL2 Ubuntu. I haven't installed any syntax highlighting files... yet. I don't see a nano-syntax-highlighting directory in my /usr/share directory.

Unrelated: note that you can install multiple linux distros (or, the same distro multiple times) in WSL. If you're curious about defaults, just spin up a fresh distro to check. You can check installed distros via wsl --list --verbose. The distro with the * beside it is your default distro. You can boot into a specific distro via wsl -d <DistroName>.

davidhcefx commented 4 months ago

I don't have this directory either, could it be created by other syntax highlighting package?