From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16165 invoked by alias); 14 Feb 2014 22:18:50 -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: 18454 Received: (qmail 22581 invoked from network); 14 Feb 2014 22:18:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1392415886; bh=pcQxwQOqXyc9XJTOgrxqgRe5L/5EdbYERB/st5yol+w=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=IVXQcb374PaElPLfgGalp0YffAE+Qm5p5i9hxzSCb9FUnLixnwwjR3BWDcrbRwtrrw922+kmT+4lwc18R2nFiHozUriCiiI5xnWWT9fT2RURMU3qY5uYZBCcSLV71514rZfvAt7pmNrnodvKBYiOQo7AU8vwdaxSnAHVeu9Gh34= X-Yahoo-Newman-Id: 81411.10931.bm@smtp124.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Jr1IgAAVM1nrBdzeFGCQGweXgFdJewUkDRRz9dt2S3IpIQ8 K3YUfawWbCyE1MlgjJSVcF4deQDSHQDzHOz9njnBU9xnSzQ54y6xi13MzYEE gFGhUX5PS9j75TjmbXm7nq4S3ySE3kwVVHEhaVSBUI93jpbBlaQ635queN4g cCKy9zzaIoO7WvMBm2nKUhVww9PFQoWjuLZ80r3t7LrkKMdR121vc5nb..Kj n8lkUW2OYPtNfRUst8PLYX50HYBGAdi1MnGuC31Qg3AX4ibAURDTy_.ioljC hiy8U8ijXxHMkw.LKlJCjqBU2G9m4vsGseA2hKhma0_KPQvMy49q.lHcLthw cUvDNXM5v.ofBTqCs5K5rBUZ270A2l5RDWM6tyapjOAkzcH.f71Mn9i2kQwU YzlCRvRc2nqVUGlfvJqB_jS1GzseXJRvK9VG570xHk76YhjV17tu0hvZUBz8 Xp7zCh2Ph17uRVO6h4yeRtYURVdk4uvq0E9397BcJjErVXFThxJQhJt302F0 JwSLaxcz2vdyqSMcrAaczNcYPyg-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- X-Rocket-Received: from kiddle.eu (okiddle@5.146.58.100 with plain [188.125.69.59]) by smtp124.mail.ir2.yahoo.com with SMTP; 14 Feb 2014 22:11:26 +0000 UTC In-reply-to: From: Oliver Kiddle References: To: zsh-users@zsh.org Subject: Re: Remove space added by completion MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16834.1392415884.1@thecus.kiddle.eu> Date: Fri, 14 Feb 2014 23:11:25 +0100 Message-ID: <16835.1392415885@thecus.kiddle.eu> zzapper wrote: > > When you tab complete you get a trailing space for free which is mostly > what you want but is there a flag etc which can remove it? See the -q, -r and -R options to compadd in the documentation. I assume you don't want to disable it completely given that it is "mostly what you want". You should actually find that it gets removed if the next key you type is something that would imply the suffix wasn't wanted. I can't think of an example with a space but typing space after a / suffix from a completed directory will usually remove the trailing /. It might be useful to have a specific example of an unwanted space. Oliver