mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
Add custom completions for nix (#314)
* Add generated completions for nix Add initial completions for nix, generated by parsing the nix help pages with a script. * Add completion for nix log-format * add README for nix completions * allow taking arguments
This commit is contained in:
parent
73e67b8054
commit
a4e08f4901
2 changed files with 1359 additions and 0 deletions
11
custom-completions/nix/README.md
Normal file
11
custom-completions/nix/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Nix Custom Completions
|
||||
|
||||
This script provides custom completions for the [Nix package manager](https://nixos.org/manual/nix/stable/).
|
||||
It encodes the full set of available subcommands and options.
|
||||
It can be used by importing its exported commands via:
|
||||
|
||||
```
|
||||
use path/to/nix-completions.nu *
|
||||
```
|
||||
|
||||
With `path/to` being either the relative path of the file to your current working directory or its absolute path.
|
1348
custom-completions/nix/nix-completions.nu
Normal file
1348
custom-completions/nix/nix-completions.nu
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue