title: Why does color prompt is not working when using "su -"
body: <p>I'm using ~/.bashrc files to add color and special scripts to the shell prompt.
  I'm getting the colors and aliases when in normal user or su but not when i'm doing su -</p>
  
  <p>Here are some screenshots that should help explaining this :</p>
  
  <ul>
  <li>As normal user or as root with <code>su</code>:</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/js6Yq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/js6Yq.png" alt="As normal user and as root (using su)"></a></p>
  
  <ul>
  <li>As root with <code>su -</code>:</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/K2iML.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K2iML.png" alt="As root (using su-)"></a></p>
  
  <p>What do i need to do in order to have the colors and all my extra stuff when typing "su -" ?</p>
  
  <p>Thanks for helping me</p>