From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2080 invoked from network); 1 Jul 2004 09:06:25 -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 09:06:25 -0000 Received: (qmail 26995 invoked from network); 1 Jul 2004 10:17:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 10:17:51 -0000 Received: (qmail 20178 invoked by alias); 1 Jul 2004 09:05:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7645 Received: (qmail 20168 invoked from network); 1 Jul 2004 09:05:40 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 1 Jul 2004 09:05:40 -0000 Received: (qmail 26180 invoked from network); 1 Jul 2004 10:17:30 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 10:17:19 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-18.tower-36.messagelabs.com!1088672702!7318889 X-StarScan-Version: 5.2.10; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 5142 invoked from network); 1 Jul 2004 09:05:02 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-18.tower-36.messagelabs.com with SMTP; 1 Jul 2004 09:05:02 -0000 Received: from trentino.logica.co.uk ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id i61951UI013568 for ; Thu, 1 Jul 2004 10:05:02 +0100 Received: from trentino.logica.co.uk (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 6DF44790E24E for ; Thu, 1 Jul 2004 11:04:17 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <87r7rw9uf3.fsf@ceramic.fifi.org> From: Oliver Kiddle References: <200407010703.55303.fabianosidler@swissonline.ch> <87r7rw9uf3.fsf@ceramic.fifi.org> To: zsh-users@sunsite.dk Subject: Re: Return to the prompt Date: Thu, 01 Jul 2004 11:04:17 +0200 Message-ID: <21161.1088672657@trentino.logica.co.uk> X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: ** X-Spam-Status: No, hits=2.3 required=6.0 tests=BAYES_70 autolearn=no version=2.63 X-Spam-Hits: 2.3 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