1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-03 07:37:47 +00:00

Move completions to module format (#195)

* Move custom completions to module format

* Describe usage in README of custom completions
This commit is contained in:
Hofer-Julian 2022-03-31 13:30:07 +02:00 committed by GitHub
parent f394c2819e
commit ef5de3ed96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 54 additions and 29 deletions

View file

@ -1,5 +1,10 @@
# Git Custom Completions
### Definition
This script provides custom completions for git.
It can be used by importing its exported commands via:
These scripts should be used to demonstrate how create custom completions for git.
```
use path/to/git/git-completions.nu *
```
With `path/to` being either the relative path of the file to your current working directory or its absolute path.