mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 21:57:33 +03:00
A place to share Nushell scripts with each other
* 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> |
||
---|---|---|
.github | ||
aliases | ||
assets | ||
before_v0.60 | ||
benchmarks | ||
custom-completions | ||
custom-menus | ||
example-config | ||
hooks | ||
make_release | ||
modules | ||
sourced | ||
themes | ||
.gitignore | ||
LICENSE | ||
README.md |
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
- aliases
- benchmarks
- cool-oneliners
- custom-completions - collection of custom completions for external commands.
- custom-menus - collection of custom nushell menus
- example-config
- hooks
- modules - This has it's dedicated readme
- nu_101 - Beginner introduction to nushell concepts.
- prompt
- themes
Running Scripts
You can run nushell scripts in a few different ways.
- You can type
nu <script name>
. - 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.