1.
Introduction
2.
Migrating from POSIX shells
3.
Miscellaneous
3.1.
Implicit cd
3.2.
XDG App Directories
3.3.
Quoting Rules
3.4.
Multi-line Arguments
3.5.
Multi-line Comments
3.6.
Prompt Function
3.7.
General Tips
4.
Variables
4.1.
String Variables
4.2.
Array Variables
4.3.
Map Variables
4.4.
Arithmetic Variables
4.5.
Exporting Variables
4.6.
Scopes
4.7.
Namespaces (colors, scopes and env vars)
5.
Expansions
5.1.
Variable Expansions
5.2.
Process Expansions
5.3.
Brace Expansions
5.4.
Arithmetic Expansions
5.5.
Method Expansions
6.
Slicing Syntax
7.
Control Flow
7.1.
Conditionals
7.2.
Loops
7.3.
Matches
8.
Pipelines & Redirection
9.
Functions
10.
Script Executions
11.
Signal Handling
12.
Job Control
13.
Builtin Commands
14.
Command History
Light (default)
Rust
Coal
Navy
Ayu
Signal Handling
SIGINT
(Ctrl + C): Interrupt the running program with a signal to terminate.
SIGTSTP
(Ctrl + Z): Send the running job to the background, pausing it.