Syntax error in .bashrc prevents prompt colorization

Bug #294823 reported by zanberdo
6
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu 8.04.1
Release: 8.04
bash:
  Installed: 3.2-0ubuntu18
  Candidate: 3.2-0ubuntu18
  Version table:
 *** 3.2-0ubuntu18 0
        500 http://archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     3.2-0ubuntu16 0
        500 http://archive.ubuntu.com hardy/main Packages

Problem:
Uncommenting <code>force_color_prompt=yes</code> in .bashrc did not set $PS1 to colorize the prompt.

Solution:
Change <code>if [ -n "$force_colored_prompt" ]; then</code> to <code>if [ -n "$force_color_prompt" ]; then</code> in .bashrc

Revision history for this message
Anthony Noto (angusthefuzz) wrote :

Thank you for reporting this bug and helping to make Ubuntu better. Using gnome-terminal in 8.10, the problem no longer exists.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.