1
Fork 0
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:
JT 2022-03-03 15:29:10 -05:00 committed by GitHub
parent 490e6c9d9b
commit 09abce0d18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" [] {