[Bash-completion-devel] Bug#857235: Bug#857235: bash-completion: /etc/profile.d/bash_completion.sh can't be forcibly re-run

2017-05-03 Thread Ville Skyttä
FYI, the BASH_COMPLETION_COMPAT_DIR defininition and read onlyness are gone upstream as of https://github.com/scop/bash-completion/commit/c41a76237bc9dcbfa326eeddd026b66d7646d91d ___ Bash-completion-devel mailing list

[Bash-completion-devel] Bug#857235: Bug#857235: bash-completion: /etc/profile.d/bash_completion.sh can't be forcibly re-run

2017-03-09 Thread Stephen Dowdy
On 03/09/2017 02:48 AM, Ville Skyttä wrote: > 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

[Bash-completion-devel] Bug#857235: Bug#857235: bash-completion: /etc/profile.d/bash_completion.sh can't be forcibly re-run

2017-03-09 Thread Ville Skyttä
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