* 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:
parent
6a06118f85
commit
0f56bd755a
@ -62,12 +62,10 @@ alias l="ls -alh"
|
|||||||
alias which="type -p"
|
alias which="type -p"
|
||||||
|
|
||||||
# Completion.
|
# Completion.
|
||||||
if [ -d "@bash@/etc/bash_completion.d" ]
|
#if [ -d "@bash@/etc/bash_completion.d" ]; then
|
||||||
then
|
# export BASH_COMPLETION_DIR="@bash@/etc/bash_completion.d"
|
||||||
export BASH_COMPLETION_DIR="@bash@/etc/bash_completion.d"
|
#fi
|
||||||
fi
|
#if [ -f "@bash@/etc/bash_completion" ]; then
|
||||||
if [ -f "@bash@/etc/bash_completion" ]
|
# export BASH_COMPLETION="@bash@/etc/bash_completion"
|
||||||
then
|
# source "$BASH_COMPLETION"
|
||||||
export BASH_COMPLETION="@bash@/etc/bash_completion"
|
#fi
|
||||||
source "$BASH_COMPLETION"
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user