title: Tree command on OS X Bash
body: <p><strong>OS:</strong> MacOS Mojave 10.14.6 <strong>Shell:</strong> Bash 5.0.11 (Homebrew's Bash)</p>
  <p>I installed the tree formula from <a href="/questions/tagged/homebrew" class="post-tag" title="show questions tagged &#39;homebrew&#39;" rel="tag">homebrew</a>, but am having difficulty in getting it to output in the colors that I want.</p>
  <p>The system default <code>$LSCOLORS</code> for mac is <code>LSCOLORS=exfxcxdxbxegedabagacad</code>.  In my .bash_profile, mine is set to <code>LSCOLORS=gxcxdxdxbxxxxxbxbxgxgx</code>.  I also have <code>CLICOLOR=1</code> set.</p>
  <p>If I leave my <code>.bash_profile</code> like this and run <code>ls</code>, the output shows in the colors I want.  However, when I run <code>tree</code>, the output shows the system default colorization.</p>
  <p>I have tried changing <code>$LSCOLORS</code> to <code>$LS_COLORS</code>, because that is what the man page for tree suggests.  The &quot;ls&quot; command still shows the correct colors, but this results in tree printing everything in default colors (no colorization at all).  The same goes when <code>$TREE_COLORS</code> is set.</p>
  <p>Any ideas?</p>