diff --git a/custom-completions/git/git-completions.nu b/custom-completions/git/git-completions.nu index 170e005..daf96e3 100644 --- a/custom-completions/git/git-completions.nu +++ b/custom-completions/git/git-completions.nu @@ -24,7 +24,7 @@ def "nu-complete git commits current branch" [] { # Yield local branches like `main`, `feature/typo_fix` def "nu-complete git local branches" [] { - ^git branch | lines | each { |line| $line | str replace '\* ' "" | str trim } + ^git branch | lines | each { |line| $line | str replace '* ' "" | str trim } } # Yield remote branches like `origin/main`, `upstream/feature-a`