Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 69407 | Differences between
and this patch

Collapse All | Expand All

(-)bashrc.orig (-8 / +8 lines)
Lines 33-49 Link Here
33
	use_color=true
33
	use_color=true
34
fi
34
fi
35
35
36
if ${use_color}; then
36
#if ${use_color}; then
37
	if [[ $EUID == 0 ]]; then
37
#	if [[ $EUID == 0 ]]; then
38
		PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
38
#		PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
39
	else
39
#	else
40
		PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]'
40
#		PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]'
41
	fi
41
#	fi
42
else
42
#else
43
	if [[ $EUID == 0 ]]; then
43
	if [[ $EUID == 0 ]]; then
44
		# show root@ when we don't have colors
44
		# show root@ when we don't have colors
45
		PS1='\u@\h \W \$ '
45
		PS1='\u@\h \W \$ '
46
	else
46
	else
47
		PS1='\u@\h \w \$ '
47
		PS1='\u@\h \w \$ '
48
	fi
48
	fi
49
fi
49
#fi

Return to bug 69407