bash: Enable colored prompts by default
[matthijs/servers/tika.git] / etc / bash.bashrc
index 9ba3cac12182e163cbb8a72cfe655e9459e39e80..169413ad10cb929448e53d5c9d0dfbfb116f7806 100644 (file)
@@ -28,10 +28,16 @@ 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
-#fi
+if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
+    . /etc/bash_completion
+fi
 
 # if the command-not-found package is installed, use it
 if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found ]; then