nu_scripts/custom-completions/nano
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
..
nano-completions.nu feat(nano): add completions (#479) 2023-05-07 08:45:52 -05:00
README.md the function to display bars of given percentage from given width (#478) 2023-05-12 09:11:20 -05:00

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.