zsh-users
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <larryv@zsh.org>
To: "Steve Dondley" <s@dondley.com>
Cc: zsh-users@zsh.org
Subject: Re: How do I go about finding reason for slow tab completion with taskwarrior "task" command?
Date: Sat, 08 Jul 2023 13:12:48 -0400	[thread overview]
Message-ID: <bdf08666-ccf2-4b38-b390-21b01ed9ca09@app.fastmail.com> (raw)
In-Reply-To: <F2E7F8B2-6031-4E2F-9639-F00485705FE6@dondley.com>

On Sat, Jul 8, 2023, at 11:56 AM, Steve Dondley wrote:
> What’s a good method for determine what is slowing things down? I was 
> thinking about commenting out various part of the script through trial 
> and error. But if I rename the _task file and start a new zsh process, 
> completion still works.

What matters is not the filename but the #compdef line at the
beginning of the file.

https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Autoloaded-files

-- 
vq


      parent reply	other threads:[~2023-07-08 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-08 15:56 Steve Dondley
2023-07-08 16:55 ` Steve Dondley
2023-07-08 17:12 ` Lawrence Velázquez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bdf08666-ccf2-4b38-b390-21b01ed9ca09@app.fastmail.com \
    --to=larryv@zsh.org \
    --cc=s@dondley.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).