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

Wout Mertens wout.mertens at gmail.com
Sat Feb 14 12:54:51 CET 2015


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150214/e66f735a/attachment.html 


More information about the nix-dev mailing list