If anybody is interested -- I think I've hacked some nice solution for this. Seems to be working for me (I havn't tested it extensivly).
http://ucore.info/en/2011/03/faster-bash-completion-loading/ https://github.com/dpc/bash_completion
dpc@mutex:~$ time . /etc/bash_completion.orig
real 0m2.360s user 0m1.510s sys 0m0.380s dpc@mutex:~$ time . /etc/bash_completion.new
real 0m0.149s user 0m0.100s sys 0m0.010s
If anybody is interested -- I think I've hacked some nice solution for this. Seems to be working for me (I havn't tested it extensivly).
http:// ucore.info/ en/2011/ 03/faster- bash-completion -loading/ /github. com/dpc/ bash_completion
https:/
dpc@mutex:~$ time . /etc/bash_ completion. orig
real 0m2.360s completion. new
user 0m1.510s
sys 0m0.380s
dpc@mutex:~$ time . /etc/bash_
real 0m0.149s
user 0m0.100s
sys 0m0.010s