From: Stephane Chazelas <stephane@chazelas.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: PS2 shows "cmdsubst" for process substitution
Date: Thu, 7 Mar 2024 06:32:56 +0000 [thread overview]
Message-ID: <20240307063256.qvnogt566fm4ooca@chazelas.org> (raw)
% cat =(
cmdsubst> echo $zsh_eval_context
cmdsubst> )
toplevel equalsubst
% cat <(
cmdsubst> echo $zsh_eval_context
cmdsubst> )
toplevel outsubst
% echo $(
cmdsubst> cat <(
cmdsubst cmdsubst> cat =(
cmdsubst cmdsubst cmdsubst> echo $zsh_eval_context
cmdsubst cmdsubst cmdsubst> )
cmdsubst cmdsubst> )
cmdsubst> )
toplevel cmdsubst outsubst equalsubst
Those "cmdsubst" are a bit misleading. Would it be possible to
change it to those equalsubst, outsubst, insubst from
zsh_eval_context (or just procsubst for process substitution for
all 3)?
--
Stephane
next reply other threads:[~2024-03-07 6:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 6:32 Stephane Chazelas [this message]
2024-03-07 6:53 ` [PATCH][DOC] zsh_eval_context doc improvements (Was: PS2 shows "cmdsubst" for process substitution) Stephane Chazelas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240307063256.qvnogt566fm4ooca@chazelas.org \
--to=stephane@chazelas.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).