Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Did something change about completion and xtrace ?
- X-seq: zsh-workers 48000
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Did something change about completion and xtrace ?
- Date: Wed, 10 Feb 2021 15:02:15 -0800
- Archived-at: <https://zsh.org/workers/48000>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/CAH%2Bw%3D7ZhSpL6p34BLV8yeja-0fHs4mjjkD6SpM%2BTTZXorOZ-fw%40mail.gmail.com>
- In-reply-to: <YCRV0vTdKbBMNd/2@fullerene.field.pennock-tech.net>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZoumpJWSGYSAcuChJqLC9x2BT=gLR7SqK10m2DRtCjsA@mail.gmail.com> <CAH+w=7Y_gueP3kssRFwM=js505ESLVAxBxSxFkqNbCo4FF6i3g@mail.gmail.com> <CAH+w=7Z1ifgTBp6=CdBNDxicO4uNAVwJ6WLc=wK3v9znwUFe1A@mail.gmail.com> <YCRV0vTdKbBMNd/2@fullerene.field.pennock-tech.net>
On Wed, Feb 10, 2021 at 1:53 PM Phil Pennock
<zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:
>
> On 2021-02-10 at 11:07 -0800, Bart Schaefer wrote:
> > The following seems to "fix" it and does not interfere with
> > _complete_debug. Any objections?
>
> The main reason I ever enable xtrace at a prompt, instead of in a
> script, is to hit tab and see what's happening with completion and where
> the logic is flowing. Would that still be possible with this change?
With this change, you'd have to use the _complete_debug widget
(default bound to control-x question-mark), or selectively enable
tracing with for example
functions -T _complete
(which is probably preferable to tracing the entire thing anyway?)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author