Currently ooffice.sh is placed in /etc/bash_completion.d, so it is always sourced if the user enables extended bash completion by sourcing /etc/profile.d/bash-completion I'd suggest moving the file to /usr/share/bash-completion, then users will be able to use command "eselect bashcomp" to control if they want it. Reproducible: Always Steps to Reproduce: 1. Emerge =app-office/openoffice-2.4.1 (probably also in earlier versions) 2. 3.
I agree ;) Just didn't come around to fixing this, so feel free to provide a patch to speed it up...
Maybe also make this file executable? Because all files in /usr/share/bash-completion are executable...
Andreas, this change could Also, please, call it 'ooffice'. You can use dobashcompletion from bash-completion.eclass to install the file.
heh, misredaction, s/this change could Also,//
Created attachment 183368 [details, diff] makes bash-completion option and places it in the correct location (In reply to comment #1) > I agree ;) Just didn't come around to fixing this, so feel free to provide a > patch to speed it up... > Here you go.
(In reply to comment #5) > Created an attachment (id=183368) [edit] > makes bash-completion option and places it in the correct location > Oh, dang. It should be: + BASH_COMPLETION_NAME=ooffice + bash-completion_pkg_postinst for that part.
Be nice to get something like this in the future 3.1 or 3.0.1 stuff =)
This is done in OOo 3.1.0, thanks for the patch! Closing.