From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13229 invoked from network); 8 Jul 2023 16:57:02 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Jul 2023 16:57:02 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1688835422; b=UEwBa48kkra7cSseFf2eCh6wzeQQdTYOZF0OQpR10guiGqnIMElap2xf9BXWzHOdduKK/pxejT 1wn2u6V+oVrbZl5Eypr5qPC/RKdxikUfRMh7gRa8m/1LDkSmmBjqShrYUutOtDZUaPkbFyjC/0 VxDZUnf3X9c6D9a7BPnNvXfFYITy4i+KzRWQeFusd5zH/KG7dgPN3eB7W8EBF3oSw5aIX+Fgtp IVWMGd5ad6eIkE3xYf4Zqgt6/FERqrqZroUphHenluUoGM/oY/LxaLhfJopTas0KCo7Px40e9d Fyft58HWcX6/gOCmc37+2QZm+modpnhNCOW7q5GPnd2ixg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1688835422; bh=Uu9d2TINBzxgfgCCmHKkR5HHlIaIOmpOz8QwSwq0kf0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature: DKIM-Signature; b=dp3zJbcriiv+Xi/yPDcjGnsBoJoBqOreV+qS/94tfY8aTk0gHlNK4pOf0gTwS91DLbyUJbJyBZ Sz8B6FFsqJClFBcxEitYTQwp3R4LKDDoOraU1tfzLSCO9oeofhk7f6/SKvILnvhLBPVUU+xIrL Rtal0Hj+w0f8o9D6JPq8o5PPKztDgPXKSSLL4Czbmr96Rjhh1X/mfmSNnG95CznUYtglskE72a s85ceob/0eLIn14CK/RNnef9iJzfJCtcS6EVBPODsDHGfGJwEFrg+WlrhtT3t3I4HUxT7OkQao yKJMx90RdI2MBJ6XT4gTF/Np3gttgRnnpVEnx1XtsR3Taw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Uu9d2TINBzxgfgCCmHKkR5HHlIaIOmpOz8QwSwq0kf0=; b=k9YsyAY7Bioc08JiH2/DSR50UN H6ArvoSjr0kztfTSiovriOKoZNRjFFWD8w5TdkhBLpUvihn/XKImzxuoYfSuCv3Qpy1aVGB+/yH8G SeTy61ecXSx7XNTSNX83CxbjlU2JPYENSW7tQUjDasWQ9wJsasd/iOUaZG62Wvtj7YvDoSMG8WGFP ccCnRQkL1aFYK46pMR4UfZbxh01llXJGByZaSUKDyjDjNfu8RucrHAHLIxEShErHwAGXtipskAGmm 1BWNY4VDXmC17R0S/xU5GnRT8m2bmzGrChbgnnqMalRc+T7DWC8kMTOn/orKFHBh2bi88YxPOGUbo MizHD3WQ==; Received: by zero.zsh.org with local id 1qIBEz-0002xh-QT; Sat, 08 Jul 2023 16:57:01 +0000 Authentication-Results: zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none Received: from email.dondley.com ([34.203.132.18]:42460) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qIBDx-0002HF-7s; Sat, 08 Jul 2023 16:56:02 +0000 Received: from smtpclient.apple (unknown [216.193.141.189]) by email.dondley.com (Postfix) with ESMTPSA id E204B20189 for ; Sat, 8 Jul 2023 12:55:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dondley.com; s=default; t=1688835355; bh=Uu9d2TINBzxgfgCCmHKkR5HHlIaIOmpOz8QwSwq0kf0=; h=From:Subject:Date:References:To:In-Reply-To:From; b=aYZTadsuTcTc1ZMOaG0HtmMTsWtRiEwyHbEuoYOlz+SxHkX4qNetA+DCjbjFxWM91 lYm40fqsHBsKCwwZlJOw/fhn+sIXpmLalppkd78hORVcIOUPMlGaYbqozcKtYIpm2s cmk8PbQjYQMKX8IUU/0qRJXldkc1/blT8pegRIbdagCmoGYqCOWSmH64ndjgQf+B98 L7IAELbJcOb0pKdzXQHQf+oI6hUfSfSJUcGWi18uef7iMHb3XvtC7CjcQEVhRJoq0W PYa0C+2CDRq3W264SeNvY3dTZLy3r2xGrHm6hOWNZ2sF47xYlxPXBmtd4iPWhiJeIh L9ft3Uw1K1q8g== From: Steve Dondley Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: How do I go about finding reason for slow tab completion with taskwarrior "task" command? Date: Sat, 8 Jul 2023 12:55:45 -0400 References: To: zsh-users@zsh.org In-Reply-To: Message-Id: <2F30F7D2-1BCC-4D54-A297-E80DA74DF414@dondley.com> X-Mailer: Apple Mail (2.3731.600.7) X-Seq: 29104 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: The problem had to do with a custom hook I wrote for taskwarrior. Not = sure why the hook is getting fired but it has nothing to do with zsh. But I=E2=80=99m still curious to know where the actual _task completion = script is. How do I find the actual completion script for task command? > On Jul 8, 2023, at 11:56 AM, Steve Dondley wrote: >=20 > I=E2=80=99m using taskwarrior on latest version of Debian stable = (bookworm). >=20 > It takes about 2 seconds for its =E2=80=9Ctask=E2=80=9D command to = respond to tab completion, making it no better than typing things in = directly for most commands. >=20 > Git completion works well with very little delay. So I have to assume = it=E2=80=99s something related to taskwarrior. >=20 > The completion script can be found here: = https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/scripts/z= sh/_task and I can see it on my machine at = /usr/share/zsh/site-functions/_task >=20 > What=E2=80=99s 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. So I=E2=80=99m not sure how to get = that _task script reloaded easily. >=20 > Can someone head me in the right direction? =20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20