mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-26 18:31:07 +08:00
fix(scorphish): redirect Git stderr to /dev/null while
Fix #454. Thanks @bucaran 👍 Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
This commit is contained in:
parent
0e21d6be2d
commit
22001a7b50
|
@ -34,8 +34,8 @@ function _git_ahead_count -a remote -a branch_name
|
||||||
end
|
end
|
||||||
|
|
||||||
function _git_dirty_remotes -a remote_color -a ahead_color
|
function _git_dirty_remotes -a remote_color -a ahead_color
|
||||||
set current_branch (git rev-parse --abbrev-ref HEAD)
|
set current_branch (command git rev-parse --abbrev-ref HEAD ^/dev/null)
|
||||||
set current_ref (git rev-parse HEAD)
|
set current_ref (command git rev-parse HEAD ^/dev/null)
|
||||||
|
|
||||||
for remote in (git remote)
|
for remote in (git remote)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user