Re: Speed up bash starting time (slow scripts in profile.d, /etc/bash_completion.d)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/16/20 3:56 AM, Dominique Martinet wrote:
  - down to 0.130s after moving /etc/bash_completion.d/* to
/usr/share/bash-completion/completions/

I thought that generally, the /etc versions of config directories were intended for the purpose of local overrides of the /usr/share versions.

This one is not actually a no-op: bash-completion loads things from /etc
at shell startup time, but things in /usr at first tab time, so if the
file in /usr/share is not named by the same prefix as the command it
help completes it won't work anymore, but in most case here it will
still work just the same (slightly slower on first use)

That's a strange separation of functionality. Maybe that's why some of them are in there?
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux