mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 04:42:12 +02:00

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
25 lines
527 B
Markdown
25 lines
527 B
Markdown
# zsh
|
|
|
|
> Z SHell, a Bash-compatible command-line interpreter.
|
|
> See also `histexpand` for history expansion.
|
|
> More information: <https://www.zsh.org>.
|
|
|
|
- Start an interactive shell session:
|
|
|
|
`zsh`
|
|
|
|
- Execute a command and then exit:
|
|
|
|
`zsh -c "{{command}}"`
|
|
|
|
- Execute a script:
|
|
|
|
`zsh {{path/to/script.zsh}}`
|
|
|
|
- Execute a script, printing each command before executing it:
|
|
|
|
`zsh --xtrace {{path/to/script.zsh}}`
|
|
|
|
- Start an interactive shell session in verbose mode, printing each command before executing it:
|
|
|
|
`zsh --verbose`
|