* 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
1 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue