[Nix-dev] Bash completion makes bash startup awefully slow

Sergey Mironov grrwlf at gmail.com
Wed Feb 18 10:06:19 CET 2015


+1 from here. I remember, in Gentoo one could select the groups of
completion scripts to include into file

Regards,
Sergey

2015-02-14 14:54 GMT+03:00 Wout Mertens <wout.mertens at gmail.com>:
> Err, can you quantify how slow bash starts up?
>
> Anyway, Marc Weber has been working on modular bash completion, see
> http://permalink.gmane.org/gmane.linux.distributions.nixos/15757
>
> Maybe that should be part of NixOS.
>
> Wout.
>
> On Sat Feb 14 2015 at 11:55:46 AM Matthias Beyer <mail at beyermatthias.de>
> wrote:
>>
>> Hi!
>>
>> On 13-02-2015 11:23:07, Wout Mertens wrote:
>> > I'd start by finding out what is slow. The bash completion reads a bunch
>> > of
>> > files iirc, so copy the package and insert time measurements.
>>
>> I know, it reads the whole completion stuff, right? Maybe we should
>> make this part more modular, so one can include what's required and
>> exclude what's not.
>>
>> >
>> > Also, you could upgrade to SSD for your root disk...
>> >
>>
>> I _have_ an SSD for my root disk! And an octocore processor and 16GB
>> Ram. It takes too long anyways!
>>
>> > Also, maybe zsh is faster?
>> >
>>
>> Sorry, but I won't switch shell as long as there is a way to improve
>> things!
>>
>> > On Tue Feb 10 2015 at 10:21:46 PM Matthias Beyer <mail at beyermatthias.de>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > we already had this on this ML, but the question which was posted (not
>> > > by me, btw) got no answer.
>> > >
>> > > I can't live withou bash completion. But using it makes bash awefully
>> > > slow at startup. Is there a way to enhance this situation?
>> > >
>> > >
>> > > --
>> > > Mit freundlichen Grüßen,
>> > > Kind regards,
>> > > Matthias Beyer
>> > >
>> > > Proudly sent with mutt.
>> > > Happily signed with gnupg.
>> > > _______________________________________________
>> > > nix-dev mailing list
>> > > nix-dev at lists.science.uu.nl
>> > > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> > >
>>
>> --
>> Mit freundlichen Grüßen,
>> Kind regards,
>> Matthias Beyer
>>
>> Proudly sent with mutt.
>> Happily signed with gnupg.
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


More information about the nix-dev mailing list