Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PS1 or PS2
- X-seq: zsh-workers 6910
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PS1 or PS2
- Date: Tue, 29 Jun 1999 14:54:41 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I already wrote about this: when on PS2 up-line-or-history moves to previous
history event instead of previous line of current event. It just occured to me,
that something like
if we-are-on-PS2
zle .push-line-or-edit
zle .up-line-or-history
would do quite nicely ... but how can I find out (in user defined widget) that I
am on PS2? The info is available (push-line-or-edit has it) - is it possible to
make it available to user widgets as well?
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author