mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@ function __fish_git_recent_commits
|
||||||
end
|
end
|
||||||
|
|
||||||
function __fish_git_local_branches
|
function __fish_git_local_branches
|
||||||
command git branch | string trim -c ' *'
|
command git branch --no-color | string trim -c ' *'
|
||||||
end
|
end
|
||||||
|
|
||||||
function __fish_git_remote_branches
|
function __fish_git_remote_branches
|
||||||
command git branch --remote | string trim -c ' *'
|
command git branch --no-color --remote | string trim -c ' *'
|
||||||
end
|
end
|
||||||
|
|
||||||
function __fish_git_branches
|
function __fish_git_branches
|
||||||
|
|
Loading…
Reference in a new issue