title: Nano syntax highlighting in Mac OS X 10.7 (Lion)?
body: <p>How to enable syntax highlighting for nano in Mac OS X 10.7 (Lion)?</p>
  
  <p>According to what I found so far on Google is that it has got to do with <code>/.nanorc</code> file. I have no idea how to get it or make it?</p>
  
  <p>When I try to find <code>nano</code> in my terminal this is what I get:</p>
  
  <pre><code>Notra:~ Sukhvir$ whereis nano
  /usr/bin/nano
  </code></pre>
  
  <p>According to what I found on Internet this is the file I need to edit:</p>
  
  <pre><code>~/.nanorc
  </code></pre>
  
  <p>But how do I get to it/how to open it/if I don't have it then how to make it?</p>
  
  <p>I am a bit new to programming folks, so step-by-step instructions will be highly appreciated.</p>
  
  <p>I need it for <code>C</code> mainly.</p>
  
  <p>According to what I found online, I have to paste this into the <code>.nanorc</code> file:</p>
  
  <pre><code>include "/usr/share/nano/nanorc.nanorc"
  include "/usr/share/nano/c.nanorc"
  </code></pre>
  
  <p>However this will not work because there is no such directory as <code>/usr/share/nano</code>.</p>
  
  <p>I also just did <code>ls /usr/share/</code> and according to the results there is no <code>nano</code> in that directory. Is this a Mac OS X 10.7 (Lion) issue or an issue on my Mac?</p>