bash, dash, fish, ksh, rbash, sh, zsh: refresh (#5714)

This commit is contained in:
bl-ue
2021-04-14 10:07:21 -04:00
committed by GitHub
parent 7755ac87fb
commit 16e4ed5c89
9 changed files with 100 additions and 73 deletions

View File

@@ -1,21 +1,25 @@
# zsh
> Z SHell, a `bash` and `sh`-compatible command line interpreter.
> Z SHell, a Bash-compatible command line interpreter.
> See also `histexpand` for history expansion.
> More information: <https://www.zsh.org>.
- Start interactive command line interpreter:
- Start an interactive shell session:
`zsh`
- Execute command passed as parameter:
- Execute a command and then exit:
`zsh -c {{command}}`
`zsh -c "{{command}}"`
- Run commands from file (script):
- Execute a script:
`zsh {{file}}`
`zsh {{path/to/script.zsh}}`
- Run commands from file and print them as they are executed:
- Execute a script, printing each command before executing it:
`zsh -x {{file}}`
`zsh --xtrace {{path/to/script.zsh}}`
- Start an interactive shell session in verbose mode, printing each command before executing it:
`zsh --verbose`