New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS1 prompt in 1109.1.0 has no colors. #1464

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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

betawaffle commented Jul 16, 2016

I've got the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment