Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Sep 23, 2023 · 2 comments

Comments

@futuremotiondev
Copy link

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
Copy link

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants