mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
Update git-completions.nu
This commit is contained in:
parent
490e6c9d9b
commit
09abce0d18
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Written by JT
|
||||
|
||||
def "nu-complete git branches" [] {
|
||||
^git branch | lines | each { |line| $line | str find-replace "\* " "" | str trim }
|
||||
^git branch | lines | each { |line| $line | str find-replace '\* ' "" | str trim }
|
||||
}
|
||||
|
||||
def "nu-complete git remotes" [] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue