We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bccba6 commit 38ee42cCopy full SHA for 38ee42c
custom-completions/git/git-completions.nu
@@ -102,7 +102,9 @@ def "nu-complete git available upstream" [] {
102
}
103
104
def "nu-complete git remotes" [] {
105
- ^git remote | lines | each { |line| $line | str trim }
+ ^git remote --verbose
106
+ | parse --regex '(?<value>\S+)\s+(?<description>\S+)'
107
+ | uniq-by value # Deduplicate where fetch and push remotes are the same
108
109
110
def "nu-complete git log" [] {
0 commit comments