From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4631 invoked by alias); 10 Nov 2014 13:42:35 -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: 19362 Received: (qmail 2471 invoked from network); 10 Nov 2014 13:42:34 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7f956d000005ed7-1e-5460c0c6d631 Date: Mon, 10 Nov 2014 13:42:30 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: How to add a 'non-escaped' tilde to the completion list Message-id: <20141110134230.0446ce3d@pwslap01u.europe.root.pri> In-reply-to: <1415625666.1260.8.camel@gmail.com> References: <1415617649.1260.4.camel@gmail.com> <20141110113136.34766361@pwslap01u.europe.root.pri> <20141110121802.6f9434c4@pwslap01u.europe.root.pri> <1415625666.1260.8.camel@gmail.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42I5/e/4Vd1jBxJCDO49trDYcXIlowOjx6qD H5gCGKO4bFJSczLLUov07RK4Mladfs5Y8I+14tXM06wNjE9Yuhg5OSQETCROH3nKCmGLSVy4 t56ti5GLQ0hgKaPE6V0nmaEcJonlm3aBdbAIqEpMnXiVHcRmEzCUmLppNiOILSIgKrF8xWaw uLCAi8TUho9ANgcHr4C9xO0D8iAmp4CBxLFpFRAjDzJKzO9eyAxSzi+gL3H17ycmiCPsJWZe OQM2kldAUOLH5Htga5kFtCQ2b2tihbDlJTavecs8gVFgFpKyWUjKZiEpW8DIvIpRNLU0uaA4 KT3XSK84Mbe4NC9dLzk/dxMjJAS/7mBceszqEKMAB6MSD6/Hl/gQIdbEsuLK3EOMEhzMSiK8 HNsTQoR4UxIrq1KL8uOLSnNSiw8xMnFwSjUwTtynutFee75E3c63UaG/F24KDZFp9zfwmZM5 p8dVOHpv9XQhvYD8X+cvn/g364BHGcOGnHcbXgfN/1T7n8cj5mz55o4rOXFMqdcLovf8tz76 KL/DwfhykflqqVCN0+pOYbWZMyeGsP5PN13/6EhTwcRlBv4q7RP4T8ZnP2y92tApwJ+02NtT iaU4I9FQi7moOBEAQmrBRh8CAAA= On Mon, 10 Nov 2014 14:21:06 +0100 Death Jester wrote: > ok. I thought it works and the substitution now actually works as > intended, either with '-f' or '-Q'. But now I have another issue xD > > When I hit my shortcut 'CTRL+v', the completion system adds a '~' > character to the command line instead of showing me the list of > available directories. When I hit 'CTRL+v' again, I get an other '~' and > the list. I suspect that's CTRL+v rather than the completion system: your completion function doesn't look problematic in that regard. CTRL+v is often used to quote the next character and that can be interpreted somewhere other than in the shell's line editor. See if you still get this with another binding. pws