Differences between revisions 3 and 4
Revision 3 as of 2009-01-16 21:00:48
Size: 1228
Editor: DavidPaleino
Comment:
Revision 4 as of 2009-01-17 11:25:41
Size: 1604
Editor: ?ColdWind
Comment: Added gentoo layout
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
   * /etc/profile.d/bash-completion.sh
   * /etc/bash_completion.d/ (enabled modules symlinked here)
   * ~/.bash_completion.d/ (user enabled modules symlinked here)
   * /usr/share/bash-completion/ (modules go here)
   * /usr/share/bash-completion/base (base module, splited out)
   * /usr/share/bash-completion/{.pre,.post} (initializations and cleanups, splited out)

Bash Completion Team

Proposal: ''New Directory Layout''

General Information

Rationale

Bash-Completion is currently installed into different paths for each single GNU/Linux distribution. This way, it's not easy for maintainers to "interface" with other distributions' people, so a proposal has been raised to improve the directory layout of Bash-Completion scripts.

Current status

  • Debian / Ubuntu
    • /etc/bash_completion
    • /etc/bash_completion.d/
  • Fedora / Red Hat
  • Gentoo
    • /etc/profile.d/bash-completion.sh
    • /etc/bash_completion.d/ (enabled modules symlinked here)
    • ~/.bash_completion.d/ (user enabled modules symlinked here)
    • /usr/share/bash-completion/ (modules go here)
    • /usr/share/bash-completion/base (base module, splited out)
    • /usr/share/bash-completion/{.pre,.post} (initializations and cleanups, splited out)
  • Mandriva
    • /etc/bash_completion
    • /etc/bash_completion.d/
    • /etc/profile.d/*bash_completion.sh
    • /etc/sysconfig/bash-completion
    • ~/.bash_completion

Details