Skip to content

Commit e800749

Browse files
authored
Update using_modules.md (nushell#1739)
typos
1 parent 78301d6 commit e800749

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

book/modules/using_modules.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The path to the module can be:
5050
use ~/nushell/modules/nupm
5151
```
5252

53-
Note that the module name (its directory) can end in a `/` (or `\` on Windows), but as with most commands that take a paths (e.g., `cd`), this is completely optional.
53+
Note that the module name (i.e., its directory) can end in a `/` (or `\` on Windows), but as with most commands that take paths (e.g., `cd`), this is completely optional.
5454

5555
:::
5656

@@ -198,13 +198,13 @@ $PI
198198

199199
## Hiding
200200

201-
Any custom command or alias, imported from a module or not, can be "hidden", restoring the previous definition.
202-
We do this with the [`hide`](/commands/docs/hide.md) command.
201+
Any custom command or alias, whether imported from a module or not, can be "hidden" to restore the previous definition using
202+
the [`hide`](/commands/docs/hide.md) command.
203203

204-
The `hide` command also accepts import patterns, just like [`use`](/commands/docs/use.md). The import pattern is interpreted slightly differently, though. It can be one of the following:
204+
The `hide` command also accepts import patterns, similar to [`use`](/commands/docs/use.md), but interprets them slightly differently. These patterns can be one of the following:
205205

206-
- If the name is a custom command, it hides it directly. Otherwise ...
207-
- If the name is a module name, hides all of its exports prefixed with the module name
206+
- If the name is a custom command, the `hide` command hides it directly.
207+
- If the name is a module name, it hides all of its exports prefixed with the module name
208208

209209
For example, using `std/assert`:
210210

0 commit comments

Comments
 (0)