Update '.bashrc'
This commit is contained in:
parent
56908080ef
commit
24ebce5100
1 changed files with 2 additions and 4 deletions
6
.bashrc
6
.bashrc
|
@ -25,14 +25,12 @@ if [ -z "${arch_chroot:-}" ] && [ -r /etc/arch_chroot ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||||
case "$TERM" in
|
export TERM=xterm-color
|
||||||
xterm-color|*-256color) color_prompt=yes;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
# 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
|
# 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
|
# should be on the output of commands, not on the prompt
|
||||||
#force_color_prompt=yes
|
force_color_prompt=yes
|
||||||
|
|
||||||
if [ -n "$force_color_prompt" ]; then
|
if [ -n "$force_color_prompt" ]; then
|
||||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||||
|
|
Loading…
Reference in a new issue