Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PS1 or PS2



>
> It almost works ...
>
> bor@itsrm2:~%> _Fn-up-line-or-history () {
> function> [[ -n "$PREBUFFER" ]] && zle .push-line-or-edit
> function> zle .up-line-or-history
> function> }

After zle .push-line-or-edit both BUFFER and PREBUFFER are empty. Are they
static values computed on the entry into widget or do they reflect real ZLE
buffers?



Messages sorted by: Reverse Date, Date, Thread, Author