Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RFC][PATCH] Add change-directory() widget function
On Tue, Apr 20, 2021 at 1:13 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> Oh, my bad. That has been unintentional. Here’s the patch again but without the whitespace changes.
Thanks.
My only remark about this as-is, is that it would have potentially
dangerous side-effects if invoked at a PS2 or PS3 prompt.
Potential fixes - begin the widget function with:
[[ ${(%):-%_} = select ]] && return 1
[[ -n "$PREBUFFER$BUFFER" ]] && zle push-input
Messages sorted by:
Reverse Date,
Date,
Thread,
Author