Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Anomalies with $-



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




Messages sorted by: Reverse Date, Date, Thread, Author