From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2449 invoked by alias); 1 Jan 2017 03:19:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22313 Received: (qmail 1193 invoked from network); 1 Jan 2017 03:19:21 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.25):SA:0(-0.7/5.0):. Processed in 1.317587 secs); 01 Jan 2017 03:19:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=uayHWxwS4jcercPpBCyMV1Qdq1s=; b=nqW8FyeugzrBuVX+giKeT +jOM9XTs/NR4wETfmM7MI0xyqT0R3aOJjuuan3z6C14hX2L73ieExt6ZcaafDokh MdETOG/ZJysptCZnrO6o3v/c86nsFyLSluXCA56DG7I61IDXVmi4CJmuV+4disPj vkeEgFoj9P/0LYott4Tnkw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=uayHWxwS4jcercPpBCyMV1Qdq1s=; b=l0Xh7Vks7DhXJg0amAaL G1kmtX103LfV/TbgTIbzZAxE0PBzVHIqjhQvU0ZA7U2k7fs7k4qDBuBN8RtXtEMx Kbig60KOjW0hacwcp/m/u0/UsXBODI6c1bLBH8geG14K53GBkRK82lF8ikHisWJ4 UVF7wD4xl0BwhlCcI3S07Mg= X-ME-Sender: X-Sasl-enc: /46uYcvcPDzfjlBCzXCphqktnKfetY6yOMP7ri2Ucv8k 1483240757 Date: Sun, 1 Jan 2017 03:16:09 +0000 From: Daniel Shahaf To: Timothee Cour Cc: zsh-users@zsh.org Subject: Re: tab completion doesn't work if there's a double slash in path Message-ID: <20170101031609.GB15639@fujitsu.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Timothee Cour wrote on Sat, Dec 31, 2016 at 17:19:56 -0800: > ls /Users/foo/bar//fob1/fob[TAB] doesn't auto-complete because there is a > double slash (//) somewhere in the path. > This case often happens in my workflow. Could autocomplete work in presence > of `//` ? It's not a bug, it's a feature: with two consecutive slashes, it looks for paths of the form /Users*/foo*/bar*/*/fob1*/fob*. * danielsh greps zshcompsys(1)… There's a 'squeeze-slashes' style you can set to disable that: zstyle :completion:\* squeeze-slashes true Cheers, Daniel