From: Philippe Troin <phil@fifi.org>
To: Fabiano Sidler <fabianosidler@swissonline.ch>
Cc: zsh-users@sunsite.dk
Subject: Re: Return to the prompt
Date: 30 Jun 2004 22:18:56 -0700 [thread overview]
Message-ID: <87r7rw9uf3.fsf@ceramic.fifi.org> (raw)
In-Reply-To: <200407010703.55303.fabianosidler@swissonline.ch>
Fabiano Sidler <fabianosidler@swissonline.ch> 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.
next prev parent reply other threads:[~2004-07-01 5:20 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 [this message]
2004-07-01 6:46 ` Fabiano Sidler
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=87r7rw9uf3.fsf@ceramic.fifi.org \
--to=phil@fifi.org \
--cc=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).