A place to share Nushell scripts with each other
Go to file
Antoine Stevan 4180ce853c
split the package into nu-themes and nu-hooks (#700)
related to 
- https://github.com/nushell/nupm/pull/50

## description
`nu-scripts` was not really a package but rather a set of two module
packages.
this feature has been removed from Nupm in
https://github.com/nushell/nupm/pull/50 and this PR fixes the
`nu-scripts` packages.

> **Note**
> the files in `nu-hooks/` have been moved to `nu-hooks/nu-hooks/` to
fit into the current model of Nupm

this PR does not change anything from the user point of view, apart from
the install that goes from
```nushell
nupm install --path --force .
```
to
```nushell
for pkg in (ls **/package.nuon | get name | path dirname) {
    nupm install --force --path $pkg
}
```
2024-02-18 16:21:35 +01:00
aliases change the string interpolation in git aliases (#735) 2024-01-14 18:05:35 -06:00
assets move assets so they're more accessible (#445) 2023-04-12 08:29:47 -05:00
before_v0.60 move assets so they're more accessible (#445) 2023-04-12 08:29:47 -05:00
benchmarks fix removed commands (#645) 2023-10-19 19:35:23 +02:00
custom-completions fix: update deprecated spread operator in just (#758) 2024-02-10 16:23:30 -06:00
custom-menus move the extra menus of Nushell into custom-menus/extra/ (#550) 2023-07-21 10:44:27 +02:00
example-config export env is not in nushell (#529) 2023-06-17 07:48:08 -05:00
make_release Add script to generate lists of PRs (#753) 2024-02-06 22:59:46 +02:00
modules fix container-create (#759) 2024-02-17 09:02:24 -06:00
nu-hooks split the package into nu-themes and nu-hooks (#700) 2024-02-18 16:21:35 +01:00
sourced Adding some examples of how to treat a list like other data structures. (#733) 2024-01-11 13:33:48 -06:00
stdlib-candidate add a "bulk rename" command to the stdlib candidates (#643) 2023-12-11 09:00:10 +01:00
themes split the package into nu-themes and nu-hooks (#700) 2024-02-18 16:21:35 +01:00
.gitattributes Add Nushell Language detect for linguist (#532) 2023-06-21 11:36:01 +03:00
.gitignore update gitignore (#270) 2022-07-30 08:04:58 -05:00
LICENSE Initial commit 2021-01-23 07:33:45 +13:00
README.md fix broken link on README.md (#716) 2023-12-23 10:37:24 +01:00

Nushell Scripts

This is a place to share Nushell scripts with each other. If you'd like to share your scripts, fork this repository, and create a PR that adds it to the repo.

Sections

Running Scripts

You can run nushell scripts in a few different ways.

  1. You can type nu <script name>.
  2. From with nushell, you can type source <script name> and if the script is just a bunch of commands it will run the script. If the script is a custom command it will load those custom commands into your current scope so you can run them like any other command.