Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Return to the prompt
- X-seq: zsh-users 7643
- From: Philippe Troin <phil@xxxxxxxx>
- To: Fabiano Sidler <fabianosidler@xxxxxxxxxxxxxx>
- Subject: Re: Return to the prompt
- Date: 30 Jun 2004 22:18:56 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <200407010703.55303.fabianosidler@xxxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200407010703.55303.fabianosidler@xxxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Fabiano Sidler <fabianosidler@xxxxxxxxxxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author