Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PS2 shows "cmdsubst" for process substitution
- X-seq: zsh-workers 52702
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: PS2 shows "cmdsubst" for process substitution
- Date: Thu, 7 Mar 2024 06:32:56 +0000
- Archived-at: <https://zsh.org/workers/52702>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
% 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author