Skip to content

Commit 5ddd366

Browse files
authored
Fix minor errors in book (#1694)
* fix errors in en book * revert configuration changes to prevent merge conflict * fix VuePress tip callout * one more typo
1 parent 97e7cab commit 5ddd366

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

book/externs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Notice that the syntax here is similar to that of the `def` keyword when definin
3535

3636
This implementation:
3737

38-
- Will provide `-p` and `-i` (with descriptions) as possibly completions for `ssh -`.
38+
- Will provide `-p` and `-i` (with descriptions) as possible completions for `ssh -`.
3939
- Will perform parse-time type checking. Attempting to use a non-`int` for the port number will result in an error (and error-condition syntax highlighting).
4040
- Will offer parse-time syntax highlighting based on the shapes of the arguments.
4141
- Will offer any private key files in `~/.ssh` as completion values for the `-i` (identity) option

book/nu_as_a_shell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ An interesting feature of Nushell is the [Directory Stack](directory_stack.md) w
1919
Nushell also has its own line editor [Reedline](line_editor.md).
2020
With Nushell's config, it is possible to configure some of the Reedline's features, such as the prompt, keybindings, history, or menus.
2121

22-
It is also possible to define [custom signatures for external commands](externs.md) which lets you define [custom completions](custom_completions.md) for them (the custom completions work also for Nushell custom commands).
22+
It is also possible to define [custom signatures for external commands](externs.md) which lets you define [custom completions](custom_completions.md) for them (the custom completions also work for Nushell custom commands).
2323

2424
[Coloring and Theming in Nu](coloring_and_theming.md) goes into more detail about how to configure Nushell's appearance.
2525

26-
If you want to schedule some commands to run in the background, [Background task in Nu](background_task.md) provide a simple guideline for you to follow.
26+
If you want to schedule some commands to run in the background, [Background task in Nu](background_task.md) provides simple guidelines for you to follow.
2727

28-
And finally, [hooks](hooks.md) allow you to insert fragments of Nushell code to run at certain events.
28+
Finally, [hooks](hooks.md) allow you to insert fragments of Nushell code to run at certain events.

book/pipelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ ls /usr/share/nvim/runtime/ | get name | to text | ^grep tutor | tr -d '\n' | ^l
451451
(Actually, for this simple usage you can just use [`find`](/commands/docs/find.md))
452452

453453
```nu
454-
ls /usr/share/nvim/runtime/ | get name | find tutor | ^ls -al $in
454+
ls /usr/share/nvim/runtime/ | get name | find tutor | ansi strip | ^ls -al ...$in
455455
```
456456

457457
## Command Output in Nushell

book/working_with_strings.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,4 +437,8 @@ $'(ansi purple_bold)This text is a bold purple!(ansi reset)'
437437
```
438438

439439
`ansi purple_bold` makes the text a bold purple
440-
`ansi reset` resets the coloring to the default. (Tip: You should always end colored strings with `ansi reset`)
440+
`ansi reset` resets the coloring to the default.
441+
442+
::: tip
443+
You should always end colored strings with `ansi reset`
444+
:::

lang-guide/chapters/types/basic_types/range.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
╰───┴───╯
116116
```
117117

118-
1. Conversion - A ranges may be converted to a `list` using:
118+
1. Conversion - A range may be converted to a `list` using:
119119

120120
```nu
121121
1..5 | each {||}

0 commit comments

Comments
 (0)