From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16295 invoked from network); 1 Jul 2004 11:05:57 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 1 Jul 2004 11:05:57 -0000 Received: (qmail 1895 invoked from network); 1 Jul 2004 12:17:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 12:17:29 -0000 Received: (qmail 14497 invoked by alias); 1 Jul 2004 11:05:07 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7647 Received: (qmail 14478 invoked from network); 1 Jul 2004 11:05:05 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 1 Jul 2004 11:05:05 -0000 Received: (qmail 983 invoked from network); 1 Jul 2004 12:16:58 -0000 Received: from mxout.hispeed.ch (HELO smtp.hispeed.ch) (62.2.95.247) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 12:16:51 -0000 Received: from 80-218-1-155.dclient.hispeed.ch (80-218-1-155.dclient.hispeed.ch [80.218.1.155]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id i61B4pqj009192 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 1 Jul 2004 13:04:56 +0200 From: Fabiano Sidler To: zsh-users@sunsite.dk Subject: Re: Return to the prompt Date: Thu, 1 Jul 2004 13:05:08 +0200 User-Agent: KMail/1.6.2 References: <200407010703.55303.fabianosidler@swissonline.ch> <87r7rw9uf3.fsf@ceramic.fifi.org> <21161.1088672657@trentino.logica.co.uk> In-Reply-To: <21161.1088672657@trentino.logica.co.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407011305.08732.fabianosidler@swissonline.ch> X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=BAYES_44,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 Oliver Kiddle wrote: > Philippe Troin wrote: >>> If then I press ^V, the directory is listed, but I have to press a key in >>> order to get my command line back. I tried wierd hacks with 'zle -R' or >>> 'zle -M' for that, but there was no solution. Any hints on that? >> >> listdir() { ls -l; zle redisplay } > > Problem with that is the beginning of the ls listing can get a little > mixed up with what is currently on the command line. > > I would use: > bindkey -s '^V' $'\eqls -l\n' > > Note that that relies on my also having: > bindkey '^[q' push-input > > Oliver Yes, that's also nice! ;) Thanks for the idea. Fips