projects
/
matthijs
/
servers
/
tika.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf03897
)
bash: Enable colored prompts by default
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 29 Feb 2012 12:05:00 +0000
(13:05 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 29 Feb 2012 13:20:30 +0000
(14:20 +0100)
etc/bash.bashrc
patch
|
blob
|
history
diff --git
a/etc/bash.bashrc
b/etc/bash.bashrc
index aa84d916b83fd822ed86e4537bc229de33cd3d6e..169413ad10cb929448e53d5c9d0dfbfb116f7806 100644
(file)
--- a/
etc/bash.bashrc
+++ b/
etc/bash.bashrc
@@
-28,6
+28,12
@@
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
# ;;
#esac
# ;;
#esac
+# Enable colored prompts by default (note that unlike what the name suggests,
+# this actually doesn't force anything, but triggers a color-detection snippet
+# in ~/.bashrc). Users can override this value (or just throw out the snippet
+# or customize the prompt) in their ~/.bashrc as well.
+force_color_prompt=yes
+
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion