Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 625304
Collapse All | Expand All

(-)/etc/bash/bashrc.old (-6 / +2 lines)
Lines 94-109 if ${use_color} ; then Link Here
94
	alias ls='ls --color=auto'
94
	alias ls='ls --color=auto'
95
	alias grep='grep --colour=auto'
95
	alias grep='grep --colour=auto'
96
	alias egrep='egrep --colour=auto'
96
	alias egrep='egrep --colour=auto'
97
	alias fgrep='fgrep --colour=auto'
97
	alias fgrep='fgrep --colour=auto'
98
else
98
else
99
	if [[ ${EUID} == 0 ]] ; then
99
	# show root@ when we don't have colors
100
		# show root@ when we don't have colors
100
	PS1+='\u@\h \w \$ '
101
		PS1+='\u@\h \w \$ '
102
	else
103
		PS1+='\u@\h \w \$ '
104
	fi
105
fi
101
fi
106
102
107
for sh in /etc/bash/bashrc.d/* ; do
103
for sh in /etc/bash/bashrc.d/* ; do
108
	[[ -r ${sh} ]] && source "${sh}"
104
	[[ -r ${sh} ]] && source "${sh}"
109
done
105
done

Return to bug 625304