completions: [git] Do not decorate reflog

This commit is contained in:
George Christou 2018-03-07 20:34:10 +00:00 committed by Fabian Homborg
parent 2d08b5ee8a
commit 73f2b444ef

View file

@ -335,7 +335,7 @@ function __fish_git_possible_commithash
end
function __fish_git_reflog
command git reflog ^/dev/null | string replace -r '[0-9a-f]* (.+@\{[0-9]+\}): (.*)$' '$1\t$2'
command git reflog --no-decorate ^/dev/null | string replace -r '[0-9a-f]* [(.+@\{[0-9]+\}): (.*)$' '$1\t$2'
end
# general options