Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Return to the prompt
- X-seq: zsh-users 7647
- From: Fabiano Sidler <fabianosidler@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Return to the prompt
- Date: Thu, 1 Jul 2004 13:05:08 +0200
- In-reply-to: <21161.1088672657@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200407010703.55303.fabianosidler@xxxxxxxxxxxxxx> <87r7rw9uf3.fsf@xxxxxxxxxxxxxxxx> <21161.1088672657@xxxxxxxxxxxxxxxxxxxxx>
Oliver Kiddle wrote:
> Philippe Troin wrote:
>>> 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 }
>
> Problem with that is the beginning of the ls listing can get a little
> mixed up with what is currently on the command line.
>
> I would use:
> bindkey -s '^V' $'\eqls -l\n'
>
> Note that that relies on my also having:
> bindkey '^[q' push-input
>
> Oliver
Yes, that's also nice! ;) Thanks for the idea.
Fips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author