FG
💻 Software

Why is bash completion being loaded so slow on OS X?

Fresh5 days ago
Mar 15, 20266397 views
Confidence Score0%
0%

Problem

I don't understand why bash completion is loaded so slow on my MacBook Pro. I did the following in my : the execution time for bash_completion typically is > 2 seconds. I find that really annoying when I am working on the terminal which requires me to constantly open new tabs. Is there a way I can …

Error Output

echo "Loading BashCompletion..."
if [ -f /opt/local/etc/bash_completion ]; then
    . /opt/local/etc/bash_completion
fi
echo "BashCompletion loaded."

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why is bash completion being loaded so slow on OS X?

Low Risk

For anyone coming to the conclusion that startup times for new shells on MacOS are too slow for them, this is the solution. I just discovered that there are in fact two packages that can be installed via . I've been installing the package for years,…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment