Loading /etc/bash_completion takes 3 seconds on my Alix-based system
(which has an AMD Geode 500 MHz CPU).

Bash completions are loaded in a number of places including via
/etc/profile.  A non-invasive way to disable this is to add

  BASH_COMPLETION=1

to the start of /etc/profile.

/etc/profile.d/bash_completion.sh will only load /etc/bash_completion if
BASH_COMPLETION is the empty string.

If you get an error:

  sed: can't read 1: No such file or directory

Then something else is still trying to load /etc/bash_completion.  In my
base, this was ~/.bashrc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/384017

Title:
  Loading /etc/bash_completion is slow

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to