You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/modules/using_modules.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The path to the module can be:
50
50
use ~/nushell/modules/nupm
51
51
```
52
52
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.
54
54
55
55
:::
56
56
@@ -198,13 +198,13 @@ $PI
198
198
199
199
## Hiding
200
200
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.
203
203
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:
205
205
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
0 commit comments