| Summary: | missing link: /etc/bash_completion.d/helpers ->/usr/share/bash-completion/helpers | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jerome Quelin <jquelin> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | dmorganec |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | bash-completion | CVE: | |
| Status comment: | |||
|
D Morgan
2011-02-28 15:34:29 CET
CC:
(none) =>
dmorganec I added a patch from Fedora to adapt to the the helpers dir location use in Mageia, remove the symlink you created and update to bash-completion-1.3-2.mga1, then test again. Keywords:
(none) =>
NEEDINFO nope, this doesn't solve the problem... $ rpm -q bash-completion bash-completion-1.3-2.mga1 $ perldoc Filbash: /etc/bash_completion.d/helpers/perl: Aucun fichier ou dossier de ce type Did you start a new terminal? (you have to, so that the bash-completion changes get picked up). doh! you're right. i was pretty sure i created a new shell, but it seems not. so indeed, it works now. Status:
NEW =>
RESOLVED |
to reproduce: $ perldoc File<tab>bash: /etc/bash_completion.d/helpers/perl: Aucun fichier ou dossier de ce type to fix: # cd /etc/bash_completion.d/ # ln -s /usr/share/bash-completion/helpers (retry the "to reproduce" section of the bug report to check it's now ok) explanation: $ grep helpers /etc/bash_completion.d/* perl: COMPREPLY=( $( compgen -P "$prefix" -W "$( $1 ${BASH_SOURCE[0]%/*}/helpers/perl modules $cur )" -- "$cur" ) ) perl: COMPREPLY=( $( compgen -P "$prefix" -W "$( ${BASH_SOURCE[0]%/*}/helpers/perl functions $cur )" -- "$cur" ) ) ${BASH_SOURCE[0]%/*} is evaluated as /etc/bash_completion.d, so a helpers link is missing. Reproducible: Steps to Reproduce: