Skip to content
This repository has been archived by the owner. It is now read-only.

PS1 prompt in 1109.1.0 has no colors. #1464

Closed
monder opened this issue Jul 16, 2016 · 1 comment
Closed

PS1 prompt in 1109.1.0 has no colors. #1464

monder opened this issue Jul 16, 2016 · 1 comment
Assignees

Comments

@monder
Copy link

@monder monder commented Jul 16, 2016

Issue Report

Bug

PS1 prompt is not colored :(

CoreOS Version

$ cat /etc/os-release
NAME=CoreOS
ID=coreos
VERSION=1109.1.0
VERSION_ID=1109.1.0
BUILD_ID=2016-07-14-2047
PRETTY_NAME="CoreOS 1109.1.0 (MoreOS)"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

Environment

AWS (ami-84b6d7f7)

Expected Behavior

screen shot 2016-07-16 at 16 33 02
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]'

Actual Behavior

screen shot 2016-07-16 at 16 24 20
PS1='\u@\h \w \$ '

Other Information

It seems that dircolors --print-database now outputs TERMs as:

...
TERM st
TERM st-256color
TERM terminator
TERM tmux*
TERM vt100
TERM xterm*
# Below are the color init strings for the basic file types. A color init
...

whereas on previous versions it was:

...
TERM screen.rxvt
TERM screen.linux
TERM st
TERM st-256color
TERM terminator
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian
# Below are the color init strings for the basic file types. A color init
...

And https://github.com/coreos/coreos-overlay/blob/9fe28e3aef7cc51044cdd333f314d7908c651376/app-shells/bash/files/bashrc#L55 doesn't match.

@betawaffle
Copy link

@betawaffle betawaffle commented Jul 16, 2016

I've got the same problem!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants