Go to the previous, next section.
zsh [ +-options ] [ +-o option ] ... [ -c string ] [ arg ... ]
þ
þ
þ
Commands are first read from `/etc/zshenv'. If the -f
flag
is given or if the NO_RCS
option is set within
`/etc/zshenv', all other initialization files are skipped.
Otherwise, commands are read from `$ZDOTDIR/.zshenv' (if
ZDOTDIR
is unset, HOME
is used instead). If the first
character of argument zero passed to the shell is -
, or if the
-l
flag is present, then the shell is assumed to be a login
shell, and commands are read from `/etc/zprofile' and then
`$ZDOTDIR/.zprofile'. Then, if the shell is interactive and the
NO_RCS
option is unset, commands are read from `/etc/zshrc'
and then `$ZDOTDIR/.zshrc'. Finally, if the shell is a login
shell, `/etc/zlogin' and `$ZDOTDIR/.zlogin' are read.
If the -s
flag is not present and an argument is given,
the first argument is taken to be the pathname of a script to execute.
The remaining arguments are assigned to the positional parameters. The
following flags are interpreted by the shell when invoked:þ
þ
-c string
-s
-i
Go to the previous, next section.