* Anomalies with $-
@ 2021-05-25 21:42 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2021-05-25 21:42 UTC (permalink / raw)
To: Zsh hackers list
Noticed while trying to set up .zshenv to behave differently when zsh
is started with/out the "-c cmdstring" option. (Painful in versions
before $ZSH_EXECUTION_STRING was implemented.)
% Src/zsh -c 'echo $-'
569Xd
%
The -d option is not documented (it's "-o noglobalrcs"), and the -c
option does not appear in the value of $-. (noglobalrcs is set by my
.zshenv, it would not normally appear at all.)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-25 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 21:42 Anomalies with $- Bart Schaefer
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).