Public bug reported:

The `share/dot.bashrc` file checks like this whether to enable
`color_prompt`:

case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

Nowaways, most terminals support 256 colors (instead of 8 like xterm-
color). Their $TERM will usually be something like `xterm-256color`.

Accordingly, this check was modified in the `skel`-package
`/etc/skel/.bashrc` like this:

case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac


I would suggest the same modification be done in the base-files .bashrc.

** Affects: base-files (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not xterm-
  256color

Status in base-files package in Ubuntu:
  New

Bug description:
  The `share/dot.bashrc` file checks like this whether to enable
  `color_prompt`:

  case "$TERM" in
      xterm-color) color_prompt=yes;;
  esac

  Nowaways, most terminals support 256 colors (instead of 8 like xterm-
  color). Their $TERM will usually be something like `xterm-256color`.

  Accordingly, this check was modified in the `skel`-package
  `/etc/skel/.bashrc` like this:

  case "$TERM" in
      xterm-color|*-256color) color_prompt=yes;;
  esac

  
  I would suggest the same modification be done in the base-files .bashrc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to