From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20837 invoked from network); 1 Jul 2004 05:20:26 -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 05:20:26 -0000 Received: (qmail 8424 invoked from network); 1 Jul 2004 06:32:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 06:32:03 -0000 Received: (qmail 18331 invoked by alias); 1 Jul 2004 05:19:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7643 Received: (qmail 18321 invoked from network); 1 Jul 2004 05:19:46 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 1 Jul 2004 05:19:46 -0000 Received: (qmail 7405 invoked from network); 1 Jul 2004 06:31:29 -0000 Received: from tantale.fifi.org (@216.27.190.146) by a.mx.sunsite.dk with SMTP; 1 Jul 2004 06:31:22 -0000 Received: from ceramic.fifi.org (mail@ceramic.fifi.org [216.27.190.147]) by tantale.fifi.org (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id WAA26205; Wed, 30 Jun 2004 22:18:57 -0700 Received: from phil by ceramic.fifi.org with local (Exim 4.22) id 1BftyK-0007hR-Su; Wed, 30 Jun 2004 22:18:56 -0700 To: Fabiano Sidler Cc: zsh-users@sunsite.dk Subject: Re: Return to the prompt References: <200407010703.55303.fabianosidler@swissonline.ch> Mail-Copies-To: nobody From: Philippe Troin Date: 30 Jun 2004 22:18:56 -0700 In-Reply-To: <200407010703.55303.fabianosidler@swissonline.ch> Message-ID: <87r7rw9uf3.fsf@ceramic.fifi.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Philippe Troin X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 Fabiano Sidler writes: > Hello List! > > I did the following: > > $ 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.