Created
December 7, 2021 15:19
-
-
Save costa86/d184baa2f7d5fde35a41a957e2e135bf to your computer and use it in GitHub Desktop.
nano syntax highlight
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
search_dir=/usr/share/nano/*.nanorc | |
nano_file=/.nanorc | |
for entry in `ls $search_dir`; do | |
echo include "'${entry}'" >> $nano_file | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment