Hardy Heron .bashrc Forced Color Prompt Mispell Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
uname -a
Linux creed 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux
lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
bash --version
GNU bash, version 3.2.33(1)-release (i486-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
bash 3.2-0ubuntu16
I often use colored prompt for my user shell, so I edit the ~/.bashrc (copied from /etc/skel/.bashrc)
Since Hardy Heron, I've found a useful line, which seems to be put to avoid commenting or uncommenting numerous lines manually (line 33) :
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_colored_
But the fact is that the following test doesn't correspond to the set variable (line 35) !!
if [ -n "$force_
We should change force_colored_
Confirmed in Ubuntu 8.04. In /etc/skel/.bashrc, the line "#force_ colored_ prompt= yes" should be changed to "#force_ color_prompt= yes".