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.
+
git local branches
1 parent fd686c0 commit 2ad0dddCopy full SHA for 2ad0ddd
custom-completions/git/git-completions.nu
@@ -24,7 +24,7 @@ def "nu-complete git commits current branch" [] {
24
25
# Yield local branches like `main`, `feature/typo_fix`
26
def "nu-complete git local branches" [] {
27
- ^git branch --no-color | lines | each { |line| $line | str replace '* ' "" | str trim }
+ ^git branch --no-color | lines | each { |line| $line | str replace '* ' "" | str replace '+ ' "" | str trim }
28
}
29
30
# Yield remote branches like `origin/main`, `upstream/feature-a`
0 commit comments