help / color / mirror / Atom feed
* 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 $-'

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


This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git