[Bash-completion-devel] [bash-completion-Bugs][311433] /etc/bash_completion.d is being sourced twice

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Feb 3 23:00:37 UTC 2009


Bugs item #311433, was opened at 2009-02-04 00:00
Status: Open
Priority: 3
Submitted By: Freddy Vulto (fvu-guest)
Assigned to: Freddy Vulto (fvu-guest)
Summary: /etc/bash_completion.d is being sourced twice 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
By default BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR contain the same value:

  BASH_COMPLETION_DIR=/etc/bash_completion.d
  BASH_COMPLETION_COMPAT_DIR=/etc/bash_completion.d

At the end of `bash_completion', both variables are looped through and sourced without checking if the directories are equal, effectively sourcing `/etc/bash_completion.d' twice.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311433&group_id=100114



More information about the Bash-completion-devel mailing list