From: Alexander Barton Date: Mon, 22 Mar 2021 20:58:34 +0000 (+0100) Subject: Get rid of "bash_completion" default plugin X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=1354f4039d9295c39802c308c3acae7e2887f1ec;hp=3331b88cbbeb623d6de669f8a496562271280c60;p=ax-zsh.git Get rid of "bash_completion" default plugin The "bashcompinit" system results in way too many errors, and the dysfunctional bash completions even shadow working ZSH completion functions way too often. This makes no sense. Get rid of it! --- diff --git a/default_plugins/bash_completion/bash_completion.zshrc b/default_plugins/bash_completion/bash_completion.zshrc deleted file mode 100644 index dc0e350..0000000 --- a/default_plugins/bash_completion/bash_completion.zshrc +++ /dev/null @@ -1,20 +0,0 @@ -# AX-ZSH: Alex' Modular ZSH Configuration -# bash_completion.zshrc: Setup bash(1) completion - -# Define some "dummy functions" -_init_completion() { return 0 } - -autoload -Uz bashcompinit || return 1 -bashcompinit - -for dir ( - /etc/bash_completion.d - /usr/local/etc/bash_completion.d -); do - # Read in all completion functions ... - for file ("$dir/"*(N)); do - # Ignore errors ... - source "$file" 2>/dev/null - done -done -unset dir