Skip to content

Commit

Permalink
lib/bourne-shell.sh: Don't force-load bash-completion
Browse files Browse the repository at this point in the history
Its already done better by the "system" completion module, and doing it
there too makes disabling it impossible and debgging issues harder.
  • Loading branch information
ifireball committed May 16, 2024
1 parent f882b9a commit 43a4ebc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/bourne-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,3 @@ fi
if [ -f ~/.bashrc.local ]; then
. ~/.bashrc.local
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi

0 comments on commit 43a4ebc

Please sign in to comment.