1
Fork 0
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:
tshaynik 2022-11-15 14:00:04 +02:00 committed by GitHub
parent 73e67b8054
commit a4e08f4901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1359 additions and 0 deletions

View 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.

File diff suppressed because it is too large Load diff