mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
parent
5ffdfca7e7
commit
e10ffbaaa7
1 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ def "nu-complete git built-in-refs" [] {
|
|||
}
|
||||
|
||||
def "nu-complete git refs" [] {
|
||||
nu-complete git switchable branches
|
||||
nu-complete git local branches
|
||||
| parse "{value}"
|
||||
| insert description Branch
|
||||
| append (nu-complete git tags | parse "{value}" | insert description Tag)
|
||||
|
@ -134,7 +134,7 @@ def "nu-complete git refs" [] {
|
|||
}
|
||||
|
||||
def "nu-complete git files-or-refs" [] {
|
||||
nu-complete git switchable branches
|
||||
nu-complete git local branches
|
||||
| parse "{value}"
|
||||
| insert description Branch
|
||||
| append (nu-complete git files | where description == "Modified" | select value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue