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
I exactly don't know, where to put this, because this code part is for .bashrc.
# Generating correct `.nanorc` file.# You should to set right path starts from $HOME, ends with slash. # Also it needs blank (or not) ~/.nanorc file
nano_highlight_path="projects/nano-highlight/"if [ -f"$HOME"/.nanorc ];then>"$HOME"/.nanorc
forsyntaxin$(ls $HOME/$nano_highlight_path*.nanorc);doecho"include \"$syntax\"">>"$HOME"/.nanorc
donefi
I hope this will be useful to someone.
The text was updated successfully, but these errors were encountered:
Hmm.... Are you using this to generate a new .nanorc file with all of the syntaxes for a given user? That's what it looks like it's doing (I don't have a linux pc to test with atm). If that's not it what is the purpose of the code? If I'm right just make it a shell script called gen-nanorc.sh or something and make a pull request.
Hi!
I exactly don't know, where to put this, because this code part is for
.bashrc
.I hope this will be useful to someone.
The text was updated successfully, but these errors were encountered: