-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi!
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
for syntax in $(ls $HOME/$nano_highlight_path*.nanorc); do
echo "include \"$syntax\"" >> "$HOME"/.nanorc
done
fiI hope this will be useful to someone.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels