[Bash-completion-devel] Bug#648319:

rush rush1503 at gmail.com
Wed Jan 11 07:37:53 UTC 2012


Hey, guys, just adding symlink doesn't resolve the issue.

You can find string

  : ${BASH_COMPLETION_COMPAT_DIR:=/etc/bash_completion.d}

in /usr/share/bash-completion/bash_completion file.

Therefore most of completions do not working.

Just changing it to /usr/share/bash-completion/completions also break
completions, that left in /etc/bash_completion.d. But most of them
already are in new place.

So we are should wait, while all developers will move it from old
destination to new.

But it would be better to change string with COMPAT_DIR variable. Here is patch:

--- /usr/share/bash-completion/bash_completion_broken 2012-01-11
11:34:13.534680333 +0400
+++ /usr/share/bash-completion/bash_completion  2012-01-11
11:34:04.618636189 +0400
@@ -40,7 +40,7 @@

 # Set the following to the location of the backwards compat completion dir.
 #
-: ${BASH_COMPLETION_COMPAT_DIR:=/etc/bash_completion.d}
+: ${BASH_COMPLETION_COMPAT_DIR:=/usr/share/bash-completion/completions}
 readonly BASH_COMPLETION_COMPAT_DIR

 # Blacklisted completions, causing problems with our code.





More information about the Bash-completion-devel mailing list