A place to share Nushell scripts with each other
Go to file
Maxim Uvarov b2fadc0ea8
the function to display bars of given percentage from given width (#478)
* function to display bars of given percentage from given width

* adding --progress, moving width to options

thanks @amtoine

* typos of ESL studnet

* added examples and tests

* feat(nano): add completions (#479)

* feat(nano): add completions

* feat(nano): add readme

* removed escape symbols from tests, fixed fraction indexing

* fixed tests

Fixed tests, although they need escape sequences, as the bar function has the ability to change the colors of both the background and foreground and uses the default color by default.

* Rename bar_fn.nu to bar.nu

---------

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2023-05-12 09:11:20 -05:00
.github Update CODEOWNERS after refactor (#466) 2023-04-26 07:51:03 -05:00
aliases fix git aliases (#485) 2023-05-11 15:22:41 -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 the function to display bars of given percentage from given width (#478) 2023-05-12 09:11:20 -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 clean up kubernetes.nu (#486) 2023-05-12 06:16:07 -05:00
sourced the function to display bars of given percentage from given width (#478) 2023-05-12 09:11:20 -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.