Skip to content

Commit 43a4ebc

Browse files
committed
lib/bourne-shell.sh: Don't force-load bash-completion
Its already done better by the "system" completion module, and doing it there too makes disabling it impossible and debgging issues harder.
1 parent f882b9a commit 43a4ebc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/bourne-shell.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,3 @@ fi
9898
if [ -f ~/.bashrc.local ]; then
9999
. ~/.bashrc.local
100100
fi
101-
102-
# enable programmable completion features (you don't need to enable
103-
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
104-
# sources /etc/bash.bashrc).
105-
if ! shopt -oq posix; then
106-
if [ -f /usr/share/bash-completion/bash_completion ]; then
107-
. /usr/share/bash-completion/bash_completion
108-
elif [ -f /etc/bash_completion ]; then
109-
. /etc/bash_completion
110-
fi
111-
fi

0 commit comments

Comments
 (0)