A place to share Nushell scripts with each other
Go to file
Mel Massadian c47ccd42b8
refactor: (#418)
* refactor:  move in one commit

Eveything in modules should probably be changed to `exported` defs.
The idea is to move everything first to keep proper history.

* refactor: 📝 add modules readme (wip)

* refactor:  small move

* refactor: 📝 changed nestring, updated modules readme

* refactor: 📝 to document or not to document

* fix: 🐛 themes

replaced the template to use `main` and regenerated them
from lemnos themes.

* Revert "fix: 🐛 themes"

This reverts commit 4918d3633c.

* refactor:  introduce sourced

- Created a source `root` in which sourcable demos are stored.
  Some might get converted to modules later on.
- Moved some files to bin too.

* fix: 🐛 fehbg.nu

* fix: 🐛 modules/after.nu

* moved some other stuff around

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-04-25 17:56:25 -05:00
.github Update CODEOWNERS (#428) 2023-03-29 16:07:55 -05:00
aliases refactor: (#418) 2023-04-25 17:56:25 -05: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 update sg.nu to print again (#456) 2023-04-21 14:24:17 -05:00
custom-completions refactor: (#418) 2023-04-25 17:56:25 -05:00
custom-menus add a current session history menu (#378) 2023-02-16 06:56:12 -06:00
example-config replace occurences of str collect with str join (#436) 2023-04-03 08:47:25 -05:00
hooks refactor: (#418) 2023-04-25 17:56:25 -05:00
make_release refactor: (#418) 2023-04-25 17:56:25 -05:00
modules refactor: (#418) 2023-04-25 17:56:25 -05:00
prompt/powerline refactor: (#418) 2023-04-25 17:56:25 -05:00
sourced refactor: (#418) 2023-04-25 17:56:25 -05:00
themes rewrite the theme generation (#437) 2023-04-05 12:52:15 -05: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 refactor: (#418) 2023-04-25 17:56:25 -05: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.