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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12700 invoked from network); 7 Apr 2022 20:12:12 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Apr 2022 20:12:12 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1649362332; b=LGUy2GDP/h5uLhd+gssuOhQpQMrdOFleCyVR2vWQM+zV97qvF9z8hfd8YrFNFd7M36WuJH9OZ2 zi5K45BGLEVPJo6Nt+eE/XWbTi/9KlYTzSFWgmr26/1NczstxEekQOthI89jbly4eFs6/ZjT0a PE9xYKXvi4tTsCKesg3RVcoQ+laIDf4NUAlP7kYoYzHoYWHuZOxDdSip3kiy7heGVeCopqFLmJ ZvoK10t3q75Lt/+pqPJMX07Qj5yZyVcDj9SXSrpAvGp/x2oEG8ugqJyEe8PV23q+P1xFm0+YAn MpfHsEB90KxKB3G1jzFzeJME6mlloBocrq3oZXNVQXTjSg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 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=1649362332; bh=R4+EVdWzvavRcG1KobK1Lq1udSy3X1TX46ime/wpLf8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=pXiJs2tU4VEIXYFH8VsLj8tpI2jewXQTvvq/Aga7vnl9YDF225F11dPj21SP5lMmoVE2HAtlcY AwLspUA3BRbo+5wfEHOgPcaUGfDP/EaULPuwKxZstInKemW3/NSTsiBJ9tsRlk0HX3HVAFZalt 9t6lhx9qmBc5AL2l2wbEmpWkT6PWIXnqDGF9n+qOw+4q7jMcLMRAjfZznBW/OAf4W4YkoiO5NL JN/uwsei8itdWcW/mo3lhhWFaxuYelNdtWytQ6nkCNEIXiswEbK3MVYKsn7ziHIxk97n2vN8vA yngqqgowrSuWN4JznZ8/MzoHfirPS1FW9YcvUj/sArJFmA==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=o/jXMdXhyZJ7AxVyzK6Hf6R0xaeHHXqd0egxiazLN0Q=; b=KcBvR8TQ+UuyRp2A2oT0ApF+ho P48IIA2CfMp7Guo56mSsB54ATk6uclAxt/Xeuh+o0GLmUSK7C+mCmmLn+jksReNaYlc66Jgp6rFDY 4K6fx4rLcTD0sqz0rtr+JrRKsYWdABsgMrqwqbK0+lcg/pUr2G8uuhQS0kzMsm7HgCtf960pIR2py ZR7/VSqvtnAPK7jcSx+HF8HZPBz6ApZieasOjkis0CWQ4W8pPitIhHhExs9idyiDSBBUktQ/e2jrS /26mePksVIEcqOAqJ1BPQr0v0tVgLh5Ql490L4EqX2ysMcyegV1NePv96Cp0UbGvuPgx0EiZoiLVX Y5eDhkPw==; Received: from authenticated user by zero.zsh.org with local id 1ncYUE-0006GR-Ma; Thu, 07 Apr 2022 20:12:10 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f45.google.com) smtp.remote-ip=209.85.208.45; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f45.google.com ([209.85.208.45]:44905) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1ncYTI-0005af-Bl; Thu, 07 Apr 2022 20:11:13 +0000 Received: by mail-ed1-f45.google.com with SMTP id d7so7692827edn.11 for ; Thu, 07 Apr 2022 13:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o/jXMdXhyZJ7AxVyzK6Hf6R0xaeHHXqd0egxiazLN0Q=; b=gnjWZS4y7Wwmk/3d1r7R/N4MLrwve0fpe835kBHtLnj0tQOcOrQ+p3TdY+VCMyu863 jIdzUW0DUgJr5d0mEqKkBovyM3ZgAA+99DN1tqlCrSnja7kZA9tpD+JGszvLVqtW/bUO sehM1o7bRwL4/cWGCb5He/i9SsOtGMAykqrWmYzgfiWYHqEVSxq9YZ657s8EwRKCrZE3 uMhg6BVcZaunZTB/eHcSeq89JlVlv+xD+XlFCdOxQctFVj6mD6ysVUEFgJ5fEUqcx/Zr 6qfHj0/nmzNi9jU+wdGEYDwony1MfU5rUq4f7PTl5tcvx9JXS6CsGFVAU5Rp+FmscqCd TF+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o/jXMdXhyZJ7AxVyzK6Hf6R0xaeHHXqd0egxiazLN0Q=; b=pN5wwZNsQ4Ie8VS7psx797XOkts5MV9QOxiCi6dRqQ7q449svAOck8fbC/rDleMTfh +bpK906QNg3bFleFdT6q/KBgDZUj8FXf0DG204GbAd5hJmZ8IuX5fZRiXlNJRCYY7P9A fCL5+hPEeZwIlvj2UtFZZMXNVKDnR7CSDUDwo08tlVnbNSALqi/HU+MIZ/RC0c0AEmi3 INmsaL6LurC9FlrLSShmfkbgEB0XBD8hj0bPjPKA2GiG3dyiUjB66+b+j1eS++XWYY+O HRihXuH5u0mAVBiZCqCnDe1h3pcFNAUcgosYv66rHP91998OnUYjKMZ8Lq0vuV8Yt2Ys 4sgg== X-Gm-Message-State: AOAM530mU/gEp3VSC7yinInm/AG7YKU2kdCtUlXbL99k684Cos6hLanj x+QRdr8qIHt2TNzwVQqxD5ObwX4qf4KVoVyajJEXzg== X-Google-Smtp-Source: ABdhPJxtfZVEOkYy92+j0yqpz8JzgjEt114EEbi0HseUKdWsrS01ilGs50JkmYtPDPpitH+Ifya9K26A8iorNW3djWw= X-Received: by 2002:a50:9fa2:0:b0:41c:d9c2:6b19 with SMTP id c31-20020a509fa2000000b0041cd9c26b19mr15816678edf.393.1649362271679; Thu, 07 Apr 2022 13:11:11 -0700 (PDT) MIME-Version: 1.0 References: <860877fd-ec69-0323-3f2a-8a40e96e6aee@rayninfo.co.uk> In-Reply-To: <860877fd-ec69-0323-3f2a-8a40e96e6aee@rayninfo.co.uk> From: Bart Schaefer Date: Thu, 7 Apr 2022 13:11:00 -0700 Message-ID: Subject: Re: cd /u/N/v/ tab expansion To: zzapper Cc: Zsh-Users List Content-Type: text/plain; charset="UTF-8" X-Seq: 27645 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 Wed, Apr 6, 2022 at 5:41 AM zzapper wrote: > > cd /u/N/v/ # tab expands to > > cd /usr/NX/var/ This is what _path_files does. > This works well if /u/N/v/ is unique and oddly or not all if not.. What's odd about it? The behavior should be that the unambiguous part at the left is completed, and then the cursor stops at the first ambiguous point. For example, if I do: % ls /u/l/b I get, with cursor after the "l" (over the third "/"): % ls /usr/l/b If I hit TAB again: % ls /usr/l/b libexec/ local/ When does this fail for you? > Q1) where is the doc for this? Under the entry for _path_files. > Has something in my setup overloaded this? No way for us to tell. Have you tried using the ctrl+x question-mark binding to get a completion traceback?