Add --no-color to more git invocations (#4636)
This breaks when git has been set to always print in color.
This commit is contained in:
parent
3650712ff2
commit
3cabed88e2
@ -19,11 +19,11 @@ function __fish_git_recent_commits
|
||||
end
|
||||
|
||||
function __fish_git_local_branches
|
||||
command git branch | string trim -c ' *'
|
||||
command git branch --no-color | string trim -c ' *'
|
||||
end
|
||||
|
||||
function __fish_git_remote_branches
|
||||
command git branch --remote | string trim -c ' *'
|
||||
command git branch --no-color --remote | string trim -c ' *'
|
||||
end
|
||||
|
||||
function __fish_git_branches
|
||||
|
Loading…
x
Reference in New Issue
Block a user