diff --git a/book/externs.md b/book/externs.md index 40389c9506..156ca892c2 100644 --- a/book/externs.md +++ b/book/externs.md @@ -35,7 +35,7 @@ Notice that the syntax here is similar to that of the `def` keyword when definin This implementation: -- Will provide `-p` and `-i` (with descriptions) as possibly completions for `ssh -`. +- Will provide `-p` and `-i` (with descriptions) as possible completions for `ssh -`. - 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). - Will offer parse-time syntax highlighting based on the shapes of the arguments. - Will offer any private key files in `~/.ssh` as completion values for the `-i` (identity) option diff --git a/book/nu_as_a_shell.md b/book/nu_as_a_shell.md index ebb5aea824..7f457ac907 100644 --- a/book/nu_as_a_shell.md +++ b/book/nu_as_a_shell.md @@ -19,10 +19,10 @@ An interesting feature of Nushell is the [Directory Stack](directory_stack.md) w Nushell also has its own line editor [Reedline](line_editor.md). With Nushell's config, it is possible to configure some of the Reedline's features, such as the prompt, keybindings, history, or menus. -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). +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). [Coloring and Theming in Nu](coloring_and_theming.md) goes into more detail about how to configure Nushell's appearance. -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. +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. -And finally, [hooks](hooks.md) allow you to insert fragments of Nushell code to run at certain events. +Finally, [hooks](hooks.md) allow you to insert fragments of Nushell code to run at certain events. diff --git a/book/pipelines.md b/book/pipelines.md index c7fad5c98d..c23939e3b8 100644 --- a/book/pipelines.md +++ b/book/pipelines.md @@ -451,7 +451,7 @@ ls /usr/share/nvim/runtime/ | get name | to text | ^grep tutor | tr -d '\n' | ^l (Actually, for this simple usage you can just use [`find`](/commands/docs/find.md)) ```nu -ls /usr/share/nvim/runtime/ | get name | find tutor | ^ls -al $in +ls /usr/share/nvim/runtime/ | get name | find tutor | ansi strip | ^ls -al ...$in ``` ## Command Output in Nushell diff --git a/book/working_with_strings.md b/book/working_with_strings.md index 2f4cd9f683..fe27637f99 100644 --- a/book/working_with_strings.md +++ b/book/working_with_strings.md @@ -437,4 +437,8 @@ $'(ansi purple_bold)This text is a bold purple!(ansi reset)' ``` `ansi purple_bold` makes the text a bold purple -`ansi reset` resets the coloring to the default. (Tip: You should always end colored strings with `ansi reset`) +`ansi reset` resets the coloring to the default. + +::: tip +You should always end colored strings with `ansi reset` +::: diff --git a/lang-guide/chapters/types/basic_types/range.md b/lang-guide/chapters/types/basic_types/range.md index 8c3c79d57e..e141a4f8a8 100644 --- a/lang-guide/chapters/types/basic_types/range.md +++ b/lang-guide/chapters/types/basic_types/range.md @@ -115,7 +115,7 @@ ╰───┴───╯ ``` -1. Conversion - A ranges may be converted to a `list` using: +1. Conversion - A range may be converted to a `list` using: ```nu 1..5 | each {||}