bash: Don't enable extended completion three times.
[matthijs/servers/tika.git] / etc / bash.bashrc
index aa84d916b83fd822ed86e4537bc229de33cd3d6e..0834c296976d9def53d2d7178db76c2e330d3c0f 100644 (file)
@@ -28,10 +28,11 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
 #    ;;
 #esac
 
-# enable bash completion in interactive shells
-if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
-    . /etc/bash_completion
-fi
+# 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
 
 # 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