Don't abort before execute command complete.

This commit is contained in:
Wenxuan 2018-11-09 11:26:36 +08:00
parent db21e7a3d2
commit b52a7c7d0f

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"
}