diff --git a/docs/sample_config/default_config.nu b/docs/sample_config/default_config.nu index 8cc335450f..166d86b7ca 100644 --- a/docs/sample_config/default_config.nu +++ b/docs/sample_config/default_config.nu @@ -61,7 +61,7 @@ module completions { # # This is a simplified version of completions for git branches and git remotes 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" [] {