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: blog/2024-04-09-art-contest-summary.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Art Contest Summary
2
2
3
-
Some time ago, we announced Nushell [logo and mascot contest](2023-12-21-logo-contest.md). We (the core team) agreed that we were not ready to commit to any of the submitted designs and begin using them as our official logo. Nevertherless, since the submissions are great, we wanted to collect and showcase them as a shoutout to the talented contributors.
3
+
Some time ago, we announced Nushell [logo and mascot contest](2023-12-21-logo-contest.md). We (the core team) agreed that we were not ready to commit to any of the submitted designs and begin using them as our official logo. Nevertheless, since the submissions are great, we wanted to collect and showcase them as a shoutout to the talented contributors.
4
4
5
5
_(The ordering of authors was generated via `[ JLi JustinGarrison aboutscientific ulitroyo ] | shuffle`)._
Copy file name to clipboardExpand all lines: book/modules.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ You can define the following things inside a module:
24
24
- Imported symbols from other modules (`use`)
25
25
- Environment setup (`export-env`)
26
26
27
-
Only definitions marked with `export` are possible to access from outside of the module ("take out of the bag"). Definitions not marked with `export` are allowed but are visible only inside the module (you could call them private). (_`export-env` is special and does not require `export`._)
27
+
Only definitions marked with `export` are possible to access from outside the module ("take out of the bag"). Definitions not marked with `export` are allowed but are visible only inside the module (you could call them private). (_`export-env` is special and does not require `export`._)
28
28
29
29
_\*These definitions can also be named `main` (see below)._
30
30
@@ -457,8 +457,8 @@ $env.NU_LIB_DIRS = [
457
457
Now you've set up a directory where you can put your completion files and you should have some Git completions the next time you start Nushell
458
458
459
459
> **Note**
460
-
> This will use the file name (in our example `git` from `git.nu`) as the module name. This means some completions might not work if the definition has the base command in it's name.
461
-
> For example, if you defined our known externals in our `git.nu` as `export extern 'git push' []`, etc. and followed the rest of the steps, you would get subcommands like `git git push`, etc.
460
+
> This will use the file name (in our example `git` from `git.nu`) as the module name. This means some completions might not work if the definition has the base command in its name.
461
+
> For example, if you defined our known externals in our `git.nu` as `export extern 'git push' []`, etc. and followed the rest of the steps, you would get subcommands like `git git push`, etc.
462
462
> You would need to call `use completions git *` to get the desired subcommands. For this reason, using `main` as outlined in the step above is the preferred way to define subcommands.
463
463
464
464
### Setting environment + aliases (conda style)
@@ -507,7 +507,7 @@ It can be one of the following:
507
507
508
508
`hide greetings *`
509
509
510
-
- Hides all of the module's exports, without the prefix
510
+
- Hides all the module's exports, without the prefix
511
511
512
512
> **Note**
513
513
> `hide` is not a supported keyword at the root of a module (unlike `def` etc.)
0 commit comments