Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Jumping to the line above
- X-seq: zsh-users 7655
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Jumping to the line above
- Date: Thu, 1 Jul 2004 16:45:20 -0700 (PDT)
- In-reply-to: <200407012155.23845.fabianosidler@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200407011214.i61CEhUe012898@xxxxxxxxxxxxxx> <200407012155.23845.fabianosidler@xxxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
On Thu, 1 Jul 2004, Fabiano Sidler wrote:
> I wouldn't believe it, if there were not a solution. But where? ;)
updir() {
print -z "$PREBUFFER$BUFFER"
BUFFER=''
zle redisplay
cd ..
zle send-break
}
Problems:
It beeps at you.
It's crude about handling the input at the PS2 prompt.
It doesn't maintain cursor position if you aren't at the end of the input.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author