Don't abort before execute command complete.

Former-commit-id: b52a7c7d0f
This commit is contained in:
Wenxuan 2018-11-09 11:26:36 +08:00
parent 3cad61acad
commit b83af3fc18

View file

@ -59,7 +59,7 @@ forgit::log() {
eval "git log --graph --color=always --format='%C(auto)%h%d %s %C(black)%C(bold)%cr' $@ $forgit_emojify" |
forgit::fzf +s +m --tiebreak=index \
--bind="enter:execute($cmd |LESS='-R' less)" \
--bind="ctrl-y:execute-silent(echo {} |grep -o '[a-f0-9]\{7\}' |pbcopy)+abort" \
--bind="ctrl-y:execute-silent(echo {} |grep -o '[a-f0-9]\{7\}' |pbcopy)" \
--preview="$cmd"
}