Options (4)
-n, --no-execbooleanCheck a specific script for syntax errors without executing it
Example:
zsh {{[-n|--no-exec]}} {{path/to/script.zsh}}-x, --xtracebooleanExecute a specific script, printing each command in the script before executing it
Example:
zsh {{[-x|--xtrace]}} {{path/to/script.zsh}}-v, --verbosebooleanStart an interactive shell session in verbose mode, printing each command before executing it
Example:
zsh {{[-v|--verbose]}}-f, --no-rcsbooleanStart Zsh without loading user level configuration (e.g. `~/.zshrc`)
Example:
zsh {{[-f|--no-rcs]}}Examples (8)
Start an interactive shell session
Execute specific [c]ommands
zsh -c "echo Hello world"Execute a specific script
zsh path/to/script.zshCheck a specific script for syntax errors without executing it
zsh [-n|--no-exec] path/to/script.zshExecute a specific script, printing each command in the script before executing it
zsh [-x|--xtrace] path/to/script.zshStart an interactive shell session in verbose mode, printing each command before executing it
zsh [-v|--verbose]Start Zsh without loading user level configuration (e.g. `~/.zshrc`)
zsh [-f|--no-rcs]made by @shridhargupta | data from tldr-pages