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 27779 invoked from network); 16 Aug 2021 22:18:49 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Aug 2021 22:18:49 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1629152329; b=ILz5Opbb4vyL0behIG5MTsdPdnXJgu0v194ZbFySOFqv+Z3gOQLxrg2pLzFb6cpp9w6nrzvi5W wtEVq7DiK5dNiaTkFKi2qkUEIDBtq4ZflES9J7uKVXXAPgcas55ywhL2IgBomu0y8WnIs1tAtJ IDVZm6eeAMnTcdno7GtM6Zh+6mCLhopgnmrW4BvxuoDi3fbl9dI7rmW4vFD+1fivDdlnNdLM2+ w2wBVwnb7qOvYD42HJC/3nWYB9oqD0Lih2exxn837Dxvy7yuf4UOffmr3nXpNWIPSHNzrKOWMQ LyRM1upCHLbop+XZ1KD5ktFG79iA0x0/hPEVAIM1n9im2Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f174.google.com) smtp.remote-ip=209.85.219.174; 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-20210803; t=1629152329; bh=++hVSBrqo9G8qCyJ1Us7c7iEdZRXnjLOO8cnNlWvn34=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=WPlJrzOBK3BmZ/rgR+kmzKV+bJT6vdNixXU47X+yZnNXQx3IT65zLwsLgBGhpzmGPaGP5FmtbZ 4k/njxEnjNV9qnpuooiGjThKyi+a0a7+I+i95h5ePU4UidWPLWVxmt/f0rr3fVCF4mUfhtwrF8 T7V4AI71dzy36Te7r/RaqJeczBS6oBsC5MTE+V9GFJXV5k4jkpCM2/OiBlji92ELNzLY6Ek00p oMIDAxpIT9GVkIYaDNyXA6QP1FzwuPOV3Q5JFQ6W9VXfykl3ZCEWh/r6keTueJUWvXhqbCn0w0 B8dJBDmiwUBq3d0fBDAS2s8m9mJiEeXT6fF/OeczGNkkvQ==; 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:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=NpeGm2Mt8IcMQZGalFuqQ64QUD1Th6bBhcD/XLK77IQ=; b=KGnBKynlazhesSy87adyHsC1xv /zAsvS74W5W/OsbpGZTXSuHYpUH3XuFb6SsVHLf90c8X+IyowVxy90XrKrv4uCuQe3utHWOR9ruli xPqh5CEPnm9FZj8lXPHOXJbqTvVr4zDvz6HE49+DvPgthestvL9LeqG0NhC/HT2Ndv4nUMgvv8bxY dcP/ay62J4kclOBz6RDs2b/7FCFg8W+tpBw7goXE0JrVmTAPQob3UPfmvSTWfeOB0uaDEroGcfM9V XTmpgNDEvz+YIjIig6pmSUGU1K7Pucl5WL9TwcIJT8DpfTxJr6rw3APOgAI5PVdUQFBdRGkIb7Emg GXyxsugg==; Received: from authenticated user by zero.zsh.org with local id 1mFkwS-000GZr-Ks; Mon, 16 Aug 2021 22:18:48 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f174.google.com) smtp.remote-ip=209.85.219.174; 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-yb1-f174.google.com ([209.85.219.174]:46937) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mFkvP-000Fjo-MC; Mon, 16 Aug 2021 22:17:45 +0000 Received: by mail-yb1-f174.google.com with SMTP id k65so35702556yba.13 for ; Mon, 16 Aug 2021 15:17:43 -0700 (PDT) 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 :cc:content-transfer-encoding; bh=NpeGm2Mt8IcMQZGalFuqQ64QUD1Th6bBhcD/XLK77IQ=; b=nTE0TfJgtjK1sPUrYqiYC5YI/homHBRLal+E1dQM8WDEZqqaI0/Ao4Eg/i6daxU0Gk hL25OHe0FsbiPhPkisykoAQnJ88ZFiNHWmvOWusrMB0uLIXJhTn83stm/tj6moUXtF56 2OBAG0djigd/6lu24ykXwpz13sGwyU3+Dpp/t0j8zTPaYW3VQJ0Aa1jD4BXgExFRei9X pw1kNBYljB8Hh68FoDZ/KADEOFvbvKb5FKihcXENBEUKu0kwILQUzBqrOAfRt1FC/gGV oNnFzQAdN5fpIGBGp5bakpq+Z4R3BR7EMcwE6jTfB/W1VJKPBXg+mFCtp6aPAwrIO/wE q7LQ== 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:cc:content-transfer-encoding; bh=NpeGm2Mt8IcMQZGalFuqQ64QUD1Th6bBhcD/XLK77IQ=; b=gZteUwc+pPtgvDSvpk00CxmL21GJTr9CB39fpuocqITUD7HDObgnN8DwhWeTt26Z3I WH+WHn0PyUUfJ3oLPmpRbKCsiohCUMxXF86DIAlShv+gwVp45aImwubhWQHi/8XnC71C R7OmTg8mTmL/KHkROcn3VD28dmP8TCXoy/U6wb2UlswJsy88oCSQ1/PBakMvJqmZvFKP FVNjoT5etycOvLrB9Kx0ScTS7seqhm9Ug7zvDGgHFn7CWscSrqbmcgUu29TRJjXiRiNu 6PhvN5Rnknatw5YhNbed92VpkVRJcbtnNTcrNdcodxWEocNEx1e9pd4ge7Xo7QieqWDK uqCA== X-Gm-Message-State: AOAM530OKKrQyyVFO2h+HkLSfU3Tq/wm+CFtwZxxlp1tPMbYvjs3cBiR uyOci5F5CemZMRa/GXGi6GsNBbCnnWx1+h3UdJfMRA== X-Google-Smtp-Source: ABdhPJwqYzHOhekAJz7VEIDSpc7TMuc0iaq/5EWMAfowiwSnXvhR92TUNJS63OT7VD1JgLIGqvo++2CVtMcWkszqacY= X-Received: by 2002:a25:31d7:: with SMTP id x206mr308839ybx.297.1629152262299; Mon, 16 Aug 2021 15:17:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Mon, 16 Aug 2021 15:17:31 -0700 Message-ID: Subject: Re: completion does not insert a slash To: =?UTF-8?B?UGV0ZXIgU2zDrcW+aWs=?= Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 26935 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: On Mon, Aug 16, 2021 at 2:40 PM Peter Sl=C3=AD=C5=BEik wrote: > > What strikes me is that the completion provides different results dependi= ng on whether the final slash is real or "transient" (hopefully I'm using c= orrect terminology). > > Maybe the behaviour is expected, but I would expect the transient slash t= o work exactly the same way a real slash does. No, it doesn't. The transient slash is just showing you that this is in fact a directory. You still actually have to type either a slash, or one non-tab character after the slash, to make it "real" before completion will proceed deeper down the tree, otherwise you're just cycling the menu at the preceding input position. > After I've discovered the 'description' zstyle option, I'm observing how = the completion works and find it even more confusing. > [...] trying to complete it in a command position identifies it either as= a named directory, or as a parameter. (?!) > > % wa > -- external command -- > -- executable file -- > -- builtin command -- > -- alias -- > -- parameter -- > -- named directory -- > wait wallpapers/ wapps watchbm > wall wapi watch watchgnupg The descriptions here are showing you every place from which a completion string was gathered, but then all the completions are lumped together at the end. (That is, you get all the descriptions, and then all the completions.) If you actually want the completion strings to appear immediately after each description, you have to add zstyle ':completion:*' group-name ""