Skip to content

Commit ea58044

Browse files
authored
Mention that aliases are recursive
Instead of duplicating portions of commands that are used identically across many aliases, the user can instead reuse any previously defined aliases.
1 parent 333478d commit ea58044

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/src/reference/config.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,13 @@ r = "run"
335335

336336
Aliases are not allowed to redefine existing built-in commands.
337337

338+
Aliases are recursive:
339+
340+
```toml
341+
rr = "run --release"
342+
space_example = "rr -- \"command list\""
343+
```
344+
338345
#### `[build]`
339346

340347
The `[build]` table controls build-time operations and compiler settings.

0 commit comments

Comments
 (0)