From: Matthijs Kooijman Date: Wed, 29 Feb 2012 14:23:17 +0000 (+0100) Subject: bash: Don't enable extended completion twice. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Ftika.git;a=commitdiff_plain;h=a83cd79035ac2a16bb255228730eb12024367705 bash: Don't enable extended completion twice. It is already enabled in /etc/profile.d/bash_completion.sh, so don't bother doing it again in /etc/bash.bashrc. --- diff --git a/etc/bash.bashrc b/etc/bash.bashrc index 169413a..0834c29 100644 --- a/etc/bash.bashrc +++ b/etc/bash.bashrc @@ -34,11 +34,6 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' # 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 the command-not-found package is installed, use it if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found ]; then function command_not_found_handle {