Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Opening a new tab is awkwardly slow
- X-seq: zsh-users 18160
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Opening a new tab is awkwardly slow
- Date: Wed, 20 Nov 2013 12:35:47 +0000
- In-reply-to: <CAMxBVSusW=zCoxRVzWytJAhQjAMXznMHMpZ5P9GUc9RjhiBb+Q@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CAMxBVSty0opsh0G=UuwfP_KFFKn=_ZnvKkOxO-uUiooNf6F59A@mail.gmail.com> <131119073326.ZM17938@torch.brasslantern.com> <CAMxBVSvDF=7Ca40SHoZdbyXchM4xM9S8KEBtozFFMV7wUkkM+A@mail.gmail.com> <CAH+w=7YnQ1gMfVjydQfscJzv6qYymSZcUvT3MZFKB25U3sdx6w@mail.gmail.com> <CAMxBVSvB13NaiNFTuTnPs+acwALFok8789WbXYd6+brtLAmJ-A@mail.gmail.com> <CAMxBVSusW=zCoxRVzWytJAhQjAMXznMHMpZ5P9GUc9RjhiBb+Q@mail.gmail.com>
On Wed, 20 Nov 2013 08:19:25 +0200
Timo Sand <timo.j.sand@xxxxxxxxx> wrote:
> Forgot to add the link
>
> I updated the Gist content https://gist.github.com/deiga/7547991
It would be useful if you were able to post a link to the text: looking
at it in a browser widget isn't very convenient and we don't need the
versioning information.
> On 20 November 2013 08:18, Timo Sand <timo.j.sand@xxxxxxxxx> wrote:
> > The biggest timesink seems to be that my `.zprofile` gets loaded twice and
> > thus `rbenv init` runs twice, which is kind of slow. The next would be
> > `compdef/compaudit`, but I don't even know what to do about them.
You're getting to areas where you need specific help from whoever knows
what it is the script is trying to do, rather than zsh users generally.
However, as far as the "compdef"s are concerned --- the code is defining
these one by one as explicit compdef commands rather than using the
mechanism where the line "#compdef blah" appears in the first line of
the functions. If you arrange to use that mechanism --- simply having
appropriate functions in you function search path when "compinit" is run
is sufficient --- this will be optimised to setting a single array in a
.zcompdump* dump file, which should be a good deal faster.
Whether that's something you're responsible for or is down to an init
file from someone else is, obviously, a question for you rather than me.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author