A place to share Nushell scripts with each other
Go to file
Rick Cogley 112d8b2f7e
Nupass refactor 20230501 (#473)
* Refactor nupass.nu

Major refactor for more flexibility

To allow number of words to be specified, one solution is to add random 
words, symbols, & numbers to lists, then operate on the lists.
You can combine lists with the ++ operator, then use shuffle on them,
as well as various other methods.

* Update ReadMe.md

Updated to match latest version, adding some new sample commands

Last version `nupass 4` meant "generate password with 3 words of length <=4".
This version `nupass 4` means "generate password with 4 words".
Length can be specified with `-l`, so: `nupass 4 -l 8` means "generate password with 4 words of length <=8".

* Update ReadMe.md

Screenshot showing new version's output
2023-05-01 06:10:19 -05:00
.github Update CODEOWNERS after refactor (#466) 2023-04-26 07:51:03 -05:00
aliases REFACTOR: unify git modules and aliases (#472) 2023-04-30 07:23:07 -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 powerline : NU_POWER_MODE and NU_POWER_BENCHMARK (#464) 2023-04-26 13:36:55 -05:00
example-config replace occurences of str collect with str join (#436) 2023-04-03 08:47:25 -05:00
hooks powerline : NU_POWER_MODE and NU_POWER_BENCHMARK (#464) 2023-04-26 13:36:55 -05:00
make_release refactor: (#418) 2023-04-25 17:56:25 -05:00
modules REFACTOR: unify git modules and aliases (#472) 2023-04-30 07:23:07 -05:00
sourced Nupass refactor 20230501 (#473) 2023-05-01 06:10:19 -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 fix navigation links (#467) 2023-04-26 18:38:06 -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.