From: Matthijs Kooijman Date: Wed, 29 Feb 2012 12:05:00 +0000 (+0100) Subject: bash: Enable colored prompts by default X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=25579b8cec73aa2504740530db6f4baa6bd987e2;p=matthijs%2Fservers%2Ftika.git bash: Enable colored prompts by default --- diff --git a/etc/bash.bashrc b/etc/bash.bashrc index aa84d91..169413a 100644 --- a/etc/bash.bashrc +++ b/etc/bash.bashrc @@ -28,6 +28,12 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' # ;; #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