Bash

Resources

 * Bash tips: Colors and formatting (ANSI/VT100 Control sequences)

Prompt
creates

Commands with color

 * : Don't ignore directories that start with a period.
 * : Append indicator (one of ) to entries.
 * : In a long listing, don't print group names.
 * : Use a long listing format (similar to  on Windows).
 * : Append  indicator to directories.

nano Syntax Highlighting
doesn't come with highlighting on macOS.

Source links:


 * https://stackoverflow.com/questions/9642617/nano-syntax-highlighting-in-mac-os-x-10-7-lion
 * https://github.com/scopatz/nanorc

Steps:


 * Download a .zip file of the repo here.
 * Extract all files from the .zip file.
 * In Terminal, run:


 * Open the nano settings file:


 * Add a line like this, for whichever language you want:


 * Save your file.
 * Quit out of Terminal and reopen to use the shininess.

Note: Apparently nano for the Mac doesn't recognize the  keyword on line 4 of the .nanorc files. You'll have to comment that out with a #. (For more nerdy shit on that, go here.)