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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12114 invoked from network); 2 Jan 2021 00:27:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Jan 2021 00:27:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609547274; b=gvFPOPGvsvFD+bXLEglUgNYP9UmfmmWQ07aCOFsfr1WpM9xJANsflsxc5xa045FlEGbm6L+RWH Uf+Nx9fomiAWOXLJGeyJUCmaxP9hmz0WnG1NKjYwAwmu68k9nINxhWjtBOj0Zn3UoiF+L2WxOa 2zvHbtFGy3fkIH0tpqHPXWdUec39YKblSNiswqv+Vw2usSIZy+hL00oRsrZdM7nniiMlfoAIwk HyHHK3Ye/Frz58BCjtc35W7/qrdJgMByFmh6k5v0cY5Z4ZPXokY3iPFoIR+Ck7GDuuuqSUVcEM /myyd9PWDcKpBB2Trczc5nVU3VKBCX95nSycPvIqGrNjBA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ot1-f47.google.com) smtp.remote-ip=209.85.210.47; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609547274; bh=1z98PtdHqnxk82duYrRGMlBG6i9TioxG9H/OyM5i/w8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=CXeO4tmLH6VoR9wzIXct7FtP2ksFsFHRQx0bKnJZWzfhNga5WzCiGoKhANMuyIqgNxDh8v/Upb cQrqOZUwTId7ZAG7aGd6bYBiPjj6rfdo6dD7K2dSJ0rxoWq00P66VDLbJwPWJVsthYKI929XPM QGvpx44GToKaOrgxfWKmstERef284CHOAKud4as81gFpEh32OoOgzhouqgZ3tK9rbp2nikiXsB ic4zBCoOCD7igzCa9fS17mbJkDJuy7f5lVaVsmkn4FtbTJ9z8zZ6WMmiBmC4dImuzUbzycxR6q IYjKoeLekM3184sIbi+mEI1AQQhy/DcSpysxQrs7BZuWiw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=kpjhu7npIsSqlhwm1uKLZmLmIJHFtVzrwTdMBsfSijA=; b=nndWHaB80M6IN0YS+wcBMo6kXh MZDG0Y0/M0pwTwC2RciwQME7i9RX8htUNyFYUxnsc8P0xAbrfA4FqKtTOhcxOlAmFeE1EXPTbmOAQ 770hisxsq/l7HwtgKNmoLA9rF+7DeG/8eLSO5D1iAnhajWBapsrGHYkslrxRYSGcdOERBOQIYrkJr URuxXF0irKF/aljHpxj362jOfySPmIg9OD9ggdSQDHsywAKJdhlHHkVFpGtgiYR/Y2M5C9xnkHJe5 9qbOCm9zAKHzhE8lLrD3DRE0zGMMVSTAerco+ZtP/m/TXhgnW56n4nfFkX5ORQqzlHxXXRhTBBoi1 FKW/uP7w==; Received: from authenticated user by zero.zsh.org with local id 1kvUls-000AJ8-Ij; Sat, 02 Jan 2021 00:27:52 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ot1-f47.google.com) smtp.remote-ip=209.85.210.47; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ot1-f47.google.com ([209.85.210.47]:36814) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kvUlI-0009w8-7K; Sat, 02 Jan 2021 00:27:17 +0000 Received: by mail-ot1-f47.google.com with SMTP id d20so21035336otl.3 for ; Fri, 01 Jan 2021 16:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kpjhu7npIsSqlhwm1uKLZmLmIJHFtVzrwTdMBsfSijA=; b=JdGT7cDwgydx6KNI9E3YCiRO0j79ByBRhspWebKeqn5FPTTeg2l9+EtlgZj/Vc+78i jxxWnZeZpLLITQPEnFicWHGidVpjs51crAt2oHRTv2lJREo2kZhWQu5JzqW2dAwz2t75 gjrHV2Y/ShW7xe2EU3rjPUy/VcdzQYnbJ0VzXZl7CiF2kQ2krZAWwvXr/0Gr18ZABR6r NTknSAq4ZcfPsWFDAHBGmt9AjDhvbra7jJWAMf+3uQGLVHqESgwa6bFGwNicdNQuvg0T fuRqzewMrPCVkJXQbL8GekAaDW7eslozeVkncbrk0RbGG0u0Ix0S5ojikdOYvV3Kj+fi 554A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kpjhu7npIsSqlhwm1uKLZmLmIJHFtVzrwTdMBsfSijA=; b=Fz08qd67U/lrR5v85KJSsk1U2/JCWzzwtafDwPKTOpj9ahs6UohrnLKmj33SiFuIGB pYgihexh2VLQnhHJB5/5Vs8IFYMk1U+GH8cW0B7txJOYa5RyOI5dWU6oamAYLf/AGTFy OMpJ/C2FtLNzxoPN/ypbTNBB+/9aL9aAYekECE7zibv/Bzne0cB50j822QvRZPQ9iIah mfjEYVz46WkfCMBlqEkHcnOhniyASUkXAfyh+0Zf4gH5wXcT0z+IQ8+PZN2A8zBXHy9/ QatatHZCikRw5nwm8rk6bM8SAsAotONlBZkyM+3dN/MOjcSRS0ggtXajLW6Sbz997sVN vBxA== X-Gm-Message-State: AOAM530O32BGIAtjsSTaRmzzqxz/7u2WiWZVZPYpBJkNZ7B3vYt6ILOE /oEQYR5o03SHPaJUmfynREl3ExNZIaedO4aIuMkvI7dcWBb18w== X-Google-Smtp-Source: ABdhPJyG1aTnDH/n4j4M4CQdoYD7RWGeeiFRjcRtsQUaojrUdfoS1OQ2O6Pubmm6CYeOj5edUSRYoFAm9MfsfIA0yWw= X-Received: by 2002:a9d:470c:: with SMTP id a12mr45691767otf.161.1609547234243; Fri, 01 Jan 2021 16:27:14 -0800 (PST) MIME-Version: 1.0 References: <819ec6fe-5af2-2e97-c5bb-f434b1de86d7@eastlink.ca> <520ce98a-4394-726d-3d12-8ef414e881c9@eastlink.ca> In-Reply-To: From: Bart Schaefer Date: Fri, 1 Jan 2021 16:27:03 -0800 Message-ID: Subject: Re: completion within a function To: Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 26291 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: Archived-At: On Thu, Dec 31, 2020 at 1:25 PM Bart Schaefer wrote: > > On Wed, Dec 30, 2020 at 5:04 PM Felipe Contreras > wrote: > > > > With that I do see the output. There's some garbage in it, but it works. > > I'm curious what the garbage is? Maybe something needs redirection. Ahh ... because it's zpty, the cursor movements get captured along with everything else. That's a bit of a monkey wrench unless all you want to do is display the result. Hmm.