FG

Bash completion makes bash start slowly

Fresh3 days ago
Mar 15, 20265778 views
Confidence Score0%
0%

Problem

Starting a bash on my ubuntu system takes about 2 seconds. If I remove loading /etc/bash_completition in .bashrc it starts without delay. Of course I don't want to give up completition and I don't think loading that file is legit reason for a 2 seconds delay. Any ideas how i can find out what the p…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bash completion makes bash start slowly

Low Risk

I found a bit hackish solution that seems to work fairly enough. Solution At the bottom of add: Explanation Setup an handler to be run when the shell receives the signal ; the handler will load the completions and hence it will deactivate itself. As…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment