From: Fabiano Sidler <fabianosidler@swissonline.ch>
To: zsh-users@sunsite.dk
Subject: Re: Return to the prompt
Date: Thu, 1 Jul 2004 08:46:52 +0200 [thread overview]
Message-ID: <200407010846.52887.fabianosidler@swissonline.ch> (raw)
In-Reply-To: <87r7rw9uf3.fsf@ceramic.fifi.org>
Philippe Troin <phil@fifi.org> writes:
> Fabiano Sidler <fabianosidler@swissonline.ch> 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
next prev parent reply other threads:[~2004-07-01 6:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-01 5:03 Fabiano Sidler
2004-07-01 5:18 ` Philippe Troin
2004-07-01 6:46 ` Fabiano Sidler [this message]
2004-07-01 9:04 ` Oliver Kiddle
2004-07-01 9:53 ` Peter Stephenson
2004-07-01 11:05 ` Fabiano Sidler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200407010846.52887.fabianosidler@swissonline.ch \
--to=fabianosidler@swissonline.ch \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).