* Disable bash completion for now. It gives login errors:

bash: BASH_COMPLETION_DIR: readonly variable
    bash: BASH_COMPLETION: readonly variable

  And in the non-interactive shell, we get:

    /nix/store/654xcqk8h2a409mxsnsbnj5c0cp9mjhm-bash-4.1-p2/etc/bash_completion: line 75: shopt: progcomp: invalid shell option name

svn path=/nixos/trunk/; revision=19809
This commit is contained in:
Eelco Dolstra 2010-02-04 09:15:46 +00:00
parent 6a06118f85
commit 0f56bd755a

View file

@ -62,12 +62,10 @@ alias l="ls -alh"
alias which="type -p"
# Completion.
if [ -d "@bash@/etc/bash_completion.d" ]
then
export BASH_COMPLETION_DIR="@bash@/etc/bash_completion.d"
fi
if [ -f "@bash@/etc/bash_completion" ]
then
export BASH_COMPLETION="@bash@/etc/bash_completion"
source "$BASH_COMPLETION"
fi
#if [ -d "@bash@/etc/bash_completion.d" ]; then
# export BASH_COMPLETION_DIR="@bash@/etc/bash_completion.d"
#fi
#if [ -f "@bash@/etc/bash_completion" ]; then
# export BASH_COMPLETION="@bash@/etc/bash_completion"
# source "$BASH_COMPLETION"
#fi