mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
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>
This commit is contained in:
parent
58a05e91da
commit
b2fadc0ea8
2 changed files with 71 additions and 0 deletions
10
custom-completions/nano/README.md
Normal file
10
custom-completions/nano/README.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# `nano` custom completions
|
||||
|
||||
This script provides custom completions for `nano`.
|
||||
It can be used by importing its exported commands via:
|
||||
|
||||
```
|
||||
use path/to/nano/nano-completions.nu *
|
||||
```
|
||||
|
||||
With `path/to/` being either the relative path of the file to your current working directory or its absolute path.
|
Loading…
Add table
Add a link
Reference in a new issue