I don't know what the reason for making the variable read only is. But
I think you could work around it by setting BASH_COMPLETION_COMPAT_DIR
to a fake value, e.g. /prevent/sourcing in your rc files before the
profile.d snippet is sourced (thus preventing it from loading
bash_completion), and then unsetting it before "manually" loading the
profile.d snippet where you want, and let it do its job unmodified.

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to