From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28740 invoked from network); 1 Jul 2004 06:47:37 -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 06:47:36 -0000 Received: (qmail 5482 invoked from network); 1 Jul 2004 07:59:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 07:59:12 -0000 Received: (qmail 28543 invoked by alias); 1 Jul 2004 06:46:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7644 Received: (qmail 28533 invoked from network); 1 Jul 2004 06:46:49 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 1 Jul 2004 06:46:49 -0000 Received: (qmail 4215 invoked from network); 1 Jul 2004 07:58:35 -0000 Received: from mxout.hispeed.ch (HELO smtp.hispeed.ch) (62.2.95.247) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 07:58:27 -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 i616kaqj001765 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 1 Jul 2004 08:46:40 +0200 From: Fabiano Sidler To: zsh-users@sunsite.dk Subject: Re: Return to the prompt Date: Thu, 1 Jul 2004 08:46:52 +0200 User-Agent: KMail/1.6.2 References: <200407010703.55303.fabianosidler@swissonline.ch> <87r7rw9uf3.fsf@ceramic.fifi.org> In-Reply-To: <87r7rw9uf3.fsf@ceramic.fifi.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407010846.52887.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 Philippe Troin writes: > Fabiano Sidler writes: > > $ listdir() { ls -l } > > $ zle -N listdir > > $ bindkey '^V' listdir > > > > 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 } > > should do the trick. > > Phil. Doh!:( I remarked that widget, but I tought, this can't be it! PEBKAC... Thanks for your fast answer! Greetings, Fips