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:
emiliano 2018-01-03 14:35:27 +01:00 committed by Fabian Homborg
parent 3650712ff2
commit 3cabed88e2

View file

@ -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