zsh-workers
 help / color / mirror / code / Atom feed
* PS2 shows "cmdsubst" for process substitution
@ 2024-03-07  6:32 Stephane Chazelas
  2024-03-07  6:53 ` [PATCH][DOC] zsh_eval_context doc improvements (Was: PS2 shows "cmdsubst" for process substitution) Stephane Chazelas
  0 siblings, 1 reply; 2+ messages in thread
From: Stephane Chazelas @ 2024-03-07  6:32 UTC (permalink / raw)
  To: Zsh hackers list

% 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-07  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07  6:32 PS2 shows "cmdsubst" for process substitution Stephane Chazelas
2024-03-07  6:53 ` [PATCH][DOC] zsh_eval_context doc improvements (Was: PS2 shows "cmdsubst" for process substitution) Stephane Chazelas

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).